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 tests
chrisluc589e9837cad
diff --git a/weed/storage/needle_map_metric_test.go b/weed/storage/needle_map_metric_test.goindex 5645a015fb..96919d103b 100644--- a/weed/storage/needle_map_metric_test.go+++ b/weed/storage/needle_map_metric_test.go@@ -16,7 +16,7 @@ func TestFastLoadingNeedleMapMetrics(t *testing.T) {for i := 0; i < 10000; i++ {nm.Put(Uint64ToNeedleId(uint64(i+1)), Uint32ToOffset(uint32(0)), Size(1))- if rand.Float32() < 0.2 {+ if rand.Float32() < 0.2 && i > 0 {nm.Delete(Uint64ToNeedleId(uint64(rand.Int63n(int64(i))+1)), Uint32ToOffset(uint32(0)))}}