1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-09-17 06:20:31 +02:00

rm ldb and bdb directory

This commit is contained in:
chenwanli 2019-11-19 09:35:06 +08:00
parent de0c983808
commit 295f3beed5

View file

@ -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
}