mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-18 21:29:56 +08:00
weed volume: remove boltdb, btree options, add options for leveldb medium, large
This commit is contained in:
@@ -14,8 +14,10 @@ import (
|
||||
type NeedleMapType int
|
||||
|
||||
const (
|
||||
NeedleMapInMemory NeedleMapType = iota
|
||||
NeedleMapLevelDb
|
||||
NeedleMapInMemory NeedleMapType = iota
|
||||
NeedleMapLevelDb // small memory footprint, 4MB total, 1 write buffer, 3 block buffer
|
||||
NeedleMapLevelDbMedium // medium memory footprint, 8MB total, 3 write buffer, 5 block buffer
|
||||
NeedleMapLevelDbLarge // large memory footprint, 12MB total, 4write buffer, 8 block buffer
|
||||
NeedleMapBoltDb
|
||||
NeedleMapBtree
|
||||
)
|
||||
|
Reference in New Issue
Block a user