SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
add logging
Chris Lu14858f6224a9
diff --git a/weed/command/filer_replication.go b/weed/command/filer_replication.goindex 5e41cbb555..02b6f70eb7 100644--- a/weed/command/filer_replication.go+++ b/weed/command/filer_replication.go@@ -1,12 +1,16 @@package commandimport (+ "strings"+"github.com/chrislusf/seaweedfs/weed/glog""github.com/chrislusf/seaweedfs/weed/replication""github.com/chrislusf/seaweedfs/weed/server""github.com/spf13/viper"- "strings""github.com/chrislusf/seaweedfs/weed/replication/sink"+ _ "github.com/chrislusf/seaweedfs/weed/replication/sink/s3sink"+ _ "github.com/chrislusf/seaweedfs/weed/replication/sink/filersink"+ _ "github.com/chrislusf/seaweedfs/weed/replication/sink/gcssink")func init() {@@ -72,6 +76,14 @@ func runFilerReplicate(cmd *Command, args []string) bool {}}+ if dataSink == nil {+ println("no data sink defined:")+ for _, sk := range sink.Sinks {+ println(" " + sk.GetName())+ }+ return true+ }+replicator := replication.NewReplicator(config.Sub("source.filer"), dataSink)for {