mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
rm ldb and bdb directory
This commit is contained in:
parent
de0c983808
commit
295f3beed5
|
@ -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 a new issue