aboutsummaryrefslogtreecommitdiff
path: root/weed/pb/seaweed.proto
diff options
context:
space:
mode:
Diffstat (limited to 'weed/pb/seaweed.proto')
-rw-r--r--weed/pb/seaweed.proto11
1 files changed, 7 insertions, 4 deletions
diff --git a/weed/pb/seaweed.proto b/weed/pb/seaweed.proto
index 6ed580b00..e7b757bd8 100644
--- a/weed/pb/seaweed.proto
+++ b/weed/pb/seaweed.proto
@@ -7,9 +7,7 @@ package master_pb;
service Seaweed {
rpc SendHeartbeat (stream Heartbeat) returns (stream HeartbeatResponse) {
}
- rpc KeepConnected (stream Empty) returns (stream Empty) {
- }
- rpc ListenForTopoChange (stream Empty) returns (stream VolumeLocation) {
+ rpc KeepConnected (stream ClientListenRequest) returns (stream VolumeLocation) {
}
}
@@ -58,8 +56,13 @@ message SuperBlockExtra {
ErasureCoding erasure_coding = 1;
}
+message ClientListenRequest {
+ string name = 1;
+}
+
message VolumeLocation {
string url = 1;
string public_url = 2;
- repeated uint32 vid = 3;
+ repeated uint32 new_vids = 3;
+ repeated uint32 deleted_vids = 4;
}