mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-28 16:00:37 +01:00
align memory to avoid nil with atomic operations
This commit is contained in:
1 parent
177f3add81
commit
46a675ecc2
1 file changed
+1
-1
@@ -14,9 +14,9 @@ import (
|
||||
)
|
||||
|
||||
type LevelDbNeedleMap struct {
|
||||
baseNeedleMapper
|
||||
dbFileName string
|
||||
db *leveldb.DB
|
||||
baseNeedleMapper
|
||||
}
|
||||
|
||||
func NewLevelDbNeedleMap(dbFileName string, indexFile *os.File, opts *opt.Options) (m *LevelDbNeedleMap, err error) {
|
||||
|
||||
Reference in new issue
Block a user