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
volume: fix bug with 8000GB version if using in memory index
Chris Luec75b2d761e9
diff --git a/weed/storage/needle_map/compact_map.go b/weed/storage/needle_map/compact_map.goindex 4089e65f70..76783d0b0f 100644--- a/weed/storage/needle_map/compact_map.go+++ b/weed/storage/needle_map/compact_map.go@@ -1,9 +1,10 @@package needle_mapimport (- . "github.com/chrislusf/seaweedfs/weed/storage/types""sort""sync"++ . "github.com/chrislusf/seaweedfs/weed/storage/types")const (@@ -81,7 +82,7 @@ func (cs *CompactSection) Set(key NeedleId, offset Offset, size uint32) (oldOffsfunc (cs *CompactSection) setOverflowEntry(skey SectionalNeedleId, offset Offset, size uint32) {needleValue := SectionalNeedleValue{Key: skey, OffsetLower: offset.OffsetLower, Size: size}- needleValueExtra := SectionalNeedleValueExtra{OffsetHigher: OffsetHigher{}}+ needleValueExtra := SectionalNeedleValueExtra{OffsetHigher: offset.OffsetHigher}insertCandidate := sort.Search(len(cs.overflow), func(i int) bool {return cs.overflow[i].Key >= needleValue.Key})