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
align memory to avoid nil with atomic operations
Chris Lu46a675ecc255
diff --git a/weed/storage/needle_map_leveldb.go b/weed/storage/needle_map_leveldb.goindex 01807595b9..602c90ddf0 100644--- a/weed/storage/needle_map_leveldb.go+++ b/weed/storage/needle_map_leveldb.go@@ -14,9 +14,9 @@ import ()type LevelDbNeedleMap struct {+ baseNeedleMapperdbFileName stringdb *leveldb.DB- baseNeedleMapper}func NewLevelDbNeedleMap(dbFileName string, indexFile *os.File, opts *opt.Options) (m *LevelDbNeedleMap, err error) {