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 comment
chrislu2ad2ffcdffb1
diff --git a/weed/storage/disk_location.go b/weed/storage/disk_location.goindex e8c1d10e41..28eabd7192 100644--- a/weed/storage/disk_location.go+++ b/weed/storage/disk_location.go@@ -155,7 +155,7 @@ func (l *DiskLocation) loadExistingVolume(dirEntry os.DirEntry, needleMapKind Neif skipIfEcVolumesExists {ecxFilePath := filepath.Join(l.IdxDirectory, volumeName+".ecx")if util.FileExists(ecxFilePath) {- // Check if EC volume is valid by verifying shard count+ // Validate EC volume: shard count, size consistency, and expected size vs .dat fileif !l.validateEcVolume(collection, vid) {glog.Warningf("EC volume %d validation failed, removing incomplete EC files to allow .dat file loading", vid)l.removeEcVolumeFiles(collection, vid)