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
rename var
Konstantin Lebedev40a9e88c0710
diff --git a/weed/shell/command_volume_check_disk.go b/weed/shell/command_volume_check_disk.goindex b53229dbda..dc3b8ca066 100644--- a/weed/shell/command_volume_check_disk.go+++ b/weed/shell/command_volume_check_disk.go@@ -131,11 +131,11 @@ func (c *commandVolumeCheckDisk) doVolumeCheckDisk(subtrahend, minuend *needle_m})fmt.Fprintf(writer, "volume %d %s has %d entries, %s missed %d entries\n", source.info.Id, source.location.dataNode.Id, counter, target.location.dataNode.Id, len(missingNeedles))- missingNeedlesPercent := float64(len(missingNeedles)) / float64(counter)- if missingNeedlesPercent > missingKeysThreshold {+ missingNeedlesFraction := float64(len(missingNeedles)) / float64(counter)+ if missingNeedlesFraction > missingKeysThreshold {return fmt.Errorf("failed to start repair volume %d, percentage of missing keys is greater than the threshold: %.2f > %.2f",- source.info.Id, missingNeedlesPercent, missingKeysThreshold)+ source.info.Id, missingNeedlesFraction, missingKeysThreshold)}for _, needleValue := range missingNeedles {