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
filer ordered notifications
Chris Lu6219a9ad1f0b
diff --git a/weed/replication/sink/filersink/filer_sink.go b/weed/replication/sink/filersink/filer_sink.goindex e2974511a3..60a1fa7d40 100644--- a/weed/replication/sink/filersink/filer_sink.go+++ b/weed/replication/sink/filersink/filer_sink.go@@ -163,7 +163,11 @@ func (fs *FilerSink) UpdateEntry(key string, oldEntry, newEntry *filer_pb.Entry,glog.V(0).Infof("oldEntry %+v, newEntry %+v, existingEntry: %+v", oldEntry, newEntry, existingEntry)- if filer2.ETag(newEntry.Chunks) == filer2.ETag(existingEntry.Chunks) {+ if existingEntry.Attributes.Mtime > newEntry.Attributes.Mtime {+ // skip if already changed+ // this usually happens when the messages are not ordered+ glog.V(0).Infof("late updates %s", key)+ } else if filer2.ETag(newEntry.Chunks) == filer2.ETag(existingEntry.Chunks) {// skip if no change// this usually happens when retrying the replicationglog.V(0).Infof("already replicated %s", key)