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
deleted index entry could not point to deleted needle
霍晓栋b9b3651a98d3
diff --git a/weed/storage/volume_checking.go b/weed/storage/volume_checking.goindex 5fcaf3b662..d424010f1e 100644--- a/weed/storage/volume_checking.go+++ b/weed/storage/volume_checking.go@@ -22,7 +22,7 @@ func CheckVolumeDataIntegrity(v *Volume, indexFile *os.File) error {}key, offset, size := idxFileEntry(lastIdxEntry)//deleted index entry could not point to deleted needle- if offset == 0 || size == 0 {+ if offset == 0 {return nil}if e = verifyNeedleIntegrity(v.dataFile, v.Version(), int64(offset)*NeedlePaddingSize, key, size); e != nil {