From 4d08393b7ca8b1a34ed65532955de76cf8843ec2 Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> Date: Fri, 5 Aug 2022 05:35:00 +0500 Subject: filer prefer volume server in same data center (#3405) * initial prefer same data center https://github.com/seaweedfs/seaweedfs/issues/3404 * GetDataCenter * prefer same data center for ReplicationSource * GetDataCenterId * remove glog --- other/java/client/src/main/proto/filer.proto | 1 + 1 file changed, 1 insertion(+) (limited to 'other/java/client/src') diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto index d815cfeb4..1f1634f9b 100644 --- a/other/java/client/src/main/proto/filer.proto +++ b/other/java/client/src/main/proto/filer.proto @@ -271,6 +271,7 @@ message Location { string url = 1; string public_url = 2; uint32 grpc_port = 3; + string data_center = 4; } message LookupVolumeResponse { map locations_map = 1; -- cgit v1.2.3