remote.cache supports replication

This commit is contained in:
Chris Lu
2021-09-06 18:30:44 -07:00
parent 3adc3da291
commit 2b1feb732c
4 changed files with 699 additions and 553 deletions

View File

@@ -475,6 +475,12 @@ message FetchAndWriteNeedleRequest {
uint32 cookie = 3;
int64 offset = 4;
int64 size = 5;
message Replica {
string url = 1;
string public_url = 2;
}
repeated Replica replicas = 6;
string auth = 7;
// remote conf
remote_pb.RemoteConf remote_conf = 15;
remote_pb.RemoteStorageLocation remote_location = 16;