aboutsummaryrefslogtreecommitdiff
path: root/weed/pb/master.proto
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-04-20 11:35:20 -0700
committerChris Lu <chris.lu@gmail.com>2019-04-20 11:35:23 -0700
commit6fc1f53018685e6842c68883af67128fbc0bd522 (patch)
treed909cc811e9259a20d4c88f9cc1cd763fde55396 /weed/pb/master.proto
parent61720e6f75f4fccadff7f5fab7320b9c9237ae87 (diff)
downloadseaweedfs-6fc1f53018685e6842c68883af67128fbc0bd522.tar.xz
seaweedfs-6fc1f53018685e6842c68883af67128fbc0bd522.zip
shell: add command volume.move
Diffstat (limited to 'weed/pb/master.proto')
-rw-r--r--weed/pb/master.proto13
1 files changed, 10 insertions, 3 deletions
diff --git a/weed/pb/master.proto b/weed/pb/master.proto
index ff47a16d4..424f70805 100644
--- a/weed/pb/master.proto
+++ b/weed/pb/master.proto
@@ -35,9 +35,9 @@ message Heartbeat {
string rack = 7;
uint32 admin_port = 8;
repeated VolumeInformationMessage volumes = 9;
- // delta volume ids
- repeated uint32 new_vids = 10;
- repeated uint32 deleted_vids = 11;
+ // delta volumes
+ repeated VolumeShortInformationMessage new_volumes = 10;
+ repeated VolumeShortInformationMessage deleted_volumes = 11;
}
message HeartbeatResponse {
@@ -59,6 +59,13 @@ message VolumeInformationMessage {
uint32 compact_revision = 11;
}
+message VolumeShortInformationMessage {
+ uint32 id = 1;
+ string collection = 3;
+ uint32 replica_placement = 8;
+ uint32 ttl = 10;
+}
+
message Empty {
}