pass backend config from master to volume servers

This commit is contained in:
Chris Lu
2019-11-29 01:05:09 -08:00
parent 0e79a44604
commit 0da7b894cc
10 changed files with 485 additions and 354 deletions

View File

@@ -58,6 +58,7 @@ message HeartbeatResponse {
string leader = 2;
string metrics_address = 3;
uint32 metrics_interval_seconds = 4;
repeated StorageBackend storage_backends = 5;
}
message VolumeInformationMessage {
@@ -89,6 +90,12 @@ message VolumeEcShardInformationMessage {
uint32 ec_index_bits = 3;
}
message StorageBackend {
string type = 1;
string id = 2;
map<string, string> properties = 3;
}
message Empty {
}