diff options
Diffstat (limited to 'weed/pb/master.proto')
| -rw-r--r-- | weed/pb/master.proto | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/weed/pb/master.proto b/weed/pb/master.proto index 87fdb53af..613b794df 100644 --- a/weed/pb/master.proto +++ b/weed/pb/master.proto @@ -44,7 +44,6 @@ message Heartbeat { string ip = 1; uint32 port = 2; string public_url = 3; - uint32 max_volume_count = 4; uint64 max_file_key = 5; string data_center = 6; string rack = 7; @@ -62,6 +61,9 @@ message Heartbeat { repeated VolumeEcShardInformationMessage deleted_ec_shards = 18; bool has_no_ec_shards = 19; + uint32 max_volume_count = 4; + uint32 max_ssd_volume_count = 20; + } message HeartbeatResponse { @@ -87,6 +89,7 @@ message VolumeInformationMessage { int64 modified_at_second = 12; string remote_storage_name = 13; string remote_storage_key = 14; + string disk_type = 15; } message VolumeShortInformationMessage { @@ -95,6 +98,7 @@ message VolumeShortInformationMessage { uint32 replica_placement = 8; uint32 version = 9; uint32 ttl = 10; + string disk_type = 15; } message VolumeEcShardInformationMessage { @@ -163,6 +167,7 @@ message AssignRequest { string data_node = 7; uint32 memory_map_max_size_mb = 8; uint32 Writable_volume_count = 9; + string disk_type = 10; } message AssignResponse { string fid = 1; @@ -177,11 +182,9 @@ message StatisticsRequest { string replication = 1; string collection = 2; string ttl = 3; + string disk_type = 4; } message StatisticsResponse { - string replication = 1; - string collection = 2; - string ttl = 3; uint64 total_size = 4; uint64 used_size = 5; uint64 file_count = 6; @@ -219,6 +222,8 @@ message DataNodeInfo { repeated VolumeInformationMessage volume_infos = 6; repeated VolumeEcShardInformationMessage ec_shard_infos = 7; uint64 remote_volume_count = 8; + uint64 max_ssd_volume_count = 9; + uint64 ssd_volume_count = 10; } message RackInfo { string id = 1; @@ -228,6 +233,8 @@ message RackInfo { uint64 active_volume_count = 5; repeated DataNodeInfo data_node_infos = 6; uint64 remote_volume_count = 7; + uint64 max_ssd_volume_count = 8; + uint64 ssd_volume_count = 9; } message DataCenterInfo { string id = 1; @@ -237,6 +244,8 @@ message DataCenterInfo { uint64 active_volume_count = 5; repeated RackInfo rack_infos = 6; uint64 remote_volume_count = 7; + uint64 max_ssd_volume_count = 8; + uint64 ssd_volume_count = 9; } message TopologyInfo { string id = 1; @@ -246,6 +255,8 @@ message TopologyInfo { uint64 active_volume_count = 5; repeated DataCenterInfo data_center_infos = 6; uint64 remote_volume_count = 7; + uint64 max_ssd_volume_count = 8; + uint64 ssd_volume_count = 9; } message VolumeListRequest { } |
