mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
add todo
This commit is contained in:
parent
6db1c8bafb
commit
57c5405657
|
@ -19,6 +19,7 @@ type BoltDbNeedleMap struct {
|
|||
|
||||
var boltdbBucket = []byte("weed")
|
||||
|
||||
// TODO avoid using btree to count deletions.
|
||||
func NewBoltDbNeedleMap(dbFileName string, indexFile *os.File) (m *BoltDbNeedleMap, err error) {
|
||||
m = &BoltDbNeedleMap{dbFileName: dbFileName}
|
||||
m.indexFile = indexFile
|
||||
|
|
|
@ -17,6 +17,7 @@ type LevelDbNeedleMap struct {
|
|||
baseNeedleMapper
|
||||
}
|
||||
|
||||
// TODO avoid using btree to count deletions.
|
||||
func NewLevelDbNeedleMap(dbFileName string, indexFile *os.File) (m *LevelDbNeedleMap, err error) {
|
||||
m = &LevelDbNeedleMap{dbFileName: dbFileName}
|
||||
m.indexFile = indexFile
|
||||
|
|
Loading…
Reference in a new issue