mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-09 05:18:23 +01:00
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:
1 parent
28a1f42962
commit
4d08393b7c
36 files changed
+925
-795
No files matched your search
@@ -33,6 +33,10 @@ func (option *RemoteSyncOptions) AdjustedUrl(location *filer_pb.Location) string
|
||||
return location.Url
|
||||
}
|
||||
|
||||
func (option *RemoteSyncOptions) GetDataCenter() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
var (
|
||||
remoteSyncOptions RemoteSyncOptions
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user