mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-31 01:10:41 +01:00
filer.backup use replication.source.filer
This commit is contained in:
1 parent
54d815fa04
commit
07bf6f956c
5 files changed
+14
-7
No files matched your search
@@ -59,7 +59,7 @@ func runFilerReplicate(cmd *Command, args []string) bool {
|
||||
|
||||
// avoid recursive replication
|
||||
if config.GetBool("notification.source.filer.enabled") && config.GetBool("notification.sink.filer.enabled") {
|
||||
if config.GetString("source.filer.grpcAddress") == config.GetString("sink.filer.grpcAddress") {
|
||||
if config.GetString("source.filer.address") == config.GetString("sink.filer.address") {
|
||||
fromDir := config.GetString("source.filer.directory")
|
||||
toDir := config.GetString("sink.filer.directory")
|
||||
if strings.HasPrefix(toDir, fromDir) {
|
||||
|
||||
Reference in new issue
Block a user