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.sync: pass attributes for mount
chrislu139e039c4489
diff --git a/weed/replication/sink/filersink/filer_sink.go b/weed/replication/sink/filersink/filer_sink.goindex 345c7f13b0..9471409fcb 100644--- a/weed/replication/sink/filersink/filer_sink.go+++ b/weed/replication/sink/filersink/filer_sink.go@@ -208,6 +208,12 @@ func (fs *FilerSink) UpdateEntry(key string, oldEntry *filer_pb.Entry, newParentreturn true, fmt.Errorf("replicte %s chunks error: %v", key, err)}existingEntry.Chunks = append(existingEntry.Chunks, replicatedChunks...)+ existingEntry.Attributes = newEntry.Attributes+ existingEntry.Extended = newEntry.Extended+ existingEntry.HardLinkId = newEntry.HardLinkId+ existingEntry.HardLinkCounter = newEntry.HardLinkCounter+ existingEntry.Content = newEntry.Content+ existingEntry.RemoteEntry = newEntry.RemoteEntry}// save updated meta data