|
@ -30,7 +30,7 @@ func NewLevelDbNeedleMap(dbFileName string, indexFile *os.File) (m *LevelDbNeedl |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
glog.V(1).Infof("Loading %s...", indexFile.Name()) |
|
|
glog.V(1).Infof("Loading %s...", indexFile.Name()) |
|
|
nm, indexLoadError := NewLevelDbNeedleMap(dbFileName, indexFile) |
|
|
|
|
|
|
|
|
nm, indexLoadError := LoadBtreeNeedleMap(indexFile) |
|
|
if indexLoadError != nil { |
|
|
if indexLoadError != nil { |
|
|
return nil, indexLoadError |
|
|
return nil, indexLoadError |
|
|
} |
|
|
} |
|
|