add btree for volume index

This commit is contained in:
Chris Lu committed 2017-05-26 22:51:25 -07:00
1 parent 80cefade65
commit 82c3ccc8dd
17 files changed
+361 -48

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ func runFix(cmd *Command, args []string) bool {
}
defer indexFile.Close()
nm := storage.NewNeedleMap(indexFile)
nm := storage.NewBtreeNeedleMap(indexFile)
defer nm.Close()
vid := storage.VolumeId(*fixVolumeId)