aboutsummaryrefslogtreecommitdiff
path: root/weed/command/fix.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2017-05-26 22:51:25 -0700
committerChris Lu <chris.lu@gmail.com>2017-05-26 22:51:25 -0700
commit82c3ccc8ddb1fea27a15f0610cf7730deb4529bc (patch)
treeb1deba002de8d716ca395c3b29c43448a4522f7d /weed/command/fix.go
parent80cefade65ecf965cde769240594f17b0a562304 (diff)
downloadseaweedfs-82c3ccc8ddb1fea27a15f0610cf7730deb4529bc.tar.xz
seaweedfs-82c3ccc8ddb1fea27a15f0610cf7730deb4529bc.zip
add btree for volume index
Diffstat (limited to 'weed/command/fix.go')
-rw-r--r--weed/command/fix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/fix.go b/weed/command/fix.go
index 22480dcd0..f3103c6c2 100644
--- a/weed/command/fix.go
+++ b/weed/command/fix.go
@@ -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)