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
waite volume being closed during compression idx
Konstantin Lebedev7315d1d0397a
diff --git a/weed/storage/volume.go b/weed/storage/volume.goindex 6d48fbc830..2dfba55c8d 100644--- a/weed/storage/volume.go+++ b/weed/storage/volume.go@@ -195,6 +195,10 @@ func (v *Volume) Close() {v.dataFileAccessLock.Lock()defer v.dataFileAccessLock.Unlock()if v.nm != nil {+ for v.isCompacting {+ glog.Warningf("Volume being closed during compression idx %d", v.Id)+ time.Sleep(time.Second)+ }if err := v.nm.Sync(); err != nil {glog.Warningf("Volume Close fail to sync volume idx %d", v.Id)}