aboutsummaryrefslogtreecommitdiff
path: root/weed/pb/master.proto
diff options
context:
space:
mode:
Diffstat (limited to 'weed/pb/master.proto')
-rw-r--r--weed/pb/master.proto15
1 files changed, 7 insertions, 8 deletions
diff --git a/weed/pb/master.proto b/weed/pb/master.proto
index 561c5ab98..fce3e04ec 100644
--- a/weed/pb/master.proto
+++ b/weed/pb/master.proto
@@ -62,6 +62,7 @@ message Heartbeat {
bool has_no_ec_shards = 19;
map<string, uint32> max_volume_counts = 4;
+ uint32 grpc_port = 20;
}
@@ -127,7 +128,7 @@ message SuperBlockExtra {
message KeepConnectedRequest {
string name = 1;
- uint32 grpc_port = 2;
+ string client_address = 3;
}
message VolumeLocation {
@@ -137,6 +138,7 @@ message VolumeLocation {
repeated uint32 deleted_vids = 4;
string leader = 5; // optional when leader is not itself
string data_center = 6; // optional when DataCenter is in use
+ uint32 grpc_port = 7;
}
message LookupVolumeRequest {
@@ -156,6 +158,7 @@ message LookupVolumeResponse {
message Location {
string url = 1;
string public_url = 2;
+ uint32 grpc_port = 3;
}
message AssignRequest {
@@ -172,16 +175,11 @@ message AssignRequest {
}
message AssignResponse {
string fid = 1;
- string url = 2;
- string public_url = 3;
uint64 count = 4;
string error = 5;
string auth = 6;
- message Replica {
- string url = 1;
- string public_url = 2;
- }
- repeated Replica replicas = 7;
+ repeated Location replicas = 7;
+ Location location = 8;
}
message StatisticsRequest {
@@ -232,6 +230,7 @@ message DiskInfo {
message DataNodeInfo {
string id = 1;
map<string, DiskInfo> diskInfos = 2;
+ uint32 grpc_port = 3;
}
message RackInfo {
string id = 1;