1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-01 22:56:38 +02:00

align memory to avoid nil with atomic operations

This commit is contained in:
Chris Lu 2019-05-04 21:33:05 -07:00
parent 177f3add81
commit 46a675ecc2

View file

@ -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) {