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
adjust deletion ordering
Chris Lu98175548c27b
diff --git a/weed/filesys/file.go b/weed/filesys/file.goindex f15eff780a..a1b0b22021 100644--- a/weed/filesys/file.go+++ b/weed/filesys/file.go@@ -137,10 +137,10 @@ func (file *File) Setattr(ctx context.Context, req *fuse.SetattrRequest, resp *f}}}- file.wfs.deleteFileChunks(truncatedChunks)file.entry.Chunks = chunksfile.entryViewCache = nilfile.reader = nil+ file.wfs.deleteFileChunks(truncatedChunks)}file.entry.Attributes.FileSize = req.Sizefile.dirtyMetadata = true