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
fix: skip file size checking for volume with TTL (#5541)
Konstantin Lebedev6f9267ebdfa3
diff --git a/weed/storage/volume_checking.go b/weed/storage/volume_checking.goindex 4d51e081f4..0c5f154e82 100644--- a/weed/storage/volume_checking.go+++ b/weed/storage/volume_checking.go@@ -109,6 +109,9 @@ func verifyNeedleIntegrity(datFile backend.BackendStorageFile, v needle.Version,return 0, fmt.Errorf("verifyNeedleIntegrity check %s entry offset %d size %d: %v", datFile.Name(), offset, size, err)}n.AppendAtNs = util.BytesToUint64(bytes)+ if n.HasTtl() {+ return n.AppendAtNs, nil+ }fileTailOffset := offset + needle.GetActualSize(size, v)fileSize, _, err := datFile.GetStat()if err != nil {