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
This commit is contained in:
Konstantin Lebedev authored and GitHub committed 2022-08-04 17:35:00 -07:00
1 parent 28a1f42962
commit 4d08393b7c
36 files changed
+925 -795

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ type S3ApiServerOption struct {
AllowEmptyFolder bool
AllowDeleteBucketNotEmpty bool
LocalFilerSocket *string
DataCenter string
}
type S3ApiServer struct {