mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-24 02:59:13 +08:00
Merge pull request #1125 from PapaYofen/fix-rm-ldb-bdb
rm ldb and bdb directory
This commit is contained in:
commit
be326edc17
@ -50,8 +50,8 @@ func (v *Volume) Destroy() (err error) {
|
||||
os.Remove(v.FileName() + ".idx")
|
||||
os.Remove(v.FileName() + ".cpd")
|
||||
os.Remove(v.FileName() + ".cpx")
|
||||
os.Remove(v.FileName() + ".ldb")
|
||||
os.Remove(v.FileName() + ".bdb")
|
||||
os.RemoveAll(v.FileName() + ".ldb")
|
||||
os.RemoveAll(v.FileName() + ".bdb")
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user