volume: fix memory leak during compaction
fix https://github.com/chrislusf/seaweedfs/issues/1222
This commit is contained in:
@@ -113,3 +113,7 @@ func (cm *MemDb) LoadFromIdx(idxName string) (ret error) {
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
func (cm *MemDb) Close() {
|
||||
cm.db.Close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user