Skip to content

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.

add logging

Chris Lu04da4c8094db
diff --git a/weed/replication/replicator.go b/weed/replication/replicator.go
index 16103577f0..ba98989159 100644
--- a/weed/replication/replicator.go
+++ b/weed/replication/replicator.go
@@ -31,6 +31,7 @@ func NewReplicator(sourceConfig util.Configuration, dataSink sink.ReplicationSin
func (r *Replicator) Replicate(key string, message *filer_pb.EventNotification) error {
if !strings.HasPrefix(key, r.source.Dir) {
+ glog.V(4).Infof("skipping %v outside of %v", key, r.source.Dir)
return nil
}
key = filepath.Join(r.sink.GetSinkToDirectory(), key[len(r.source.Dir):])