mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-30 09:12:29 +08:00
remove index file
fix https://github.com/chrislusf/seaweedfs/issues/793
This commit is contained in:
parent
16634235c1
commit
f64dc7465b
@ -42,9 +42,7 @@ func (v *Volume) Destroy() (err error) {
|
||||
}
|
||||
v.Close()
|
||||
os.Remove(v.FileName() + ".dat")
|
||||
if v.nm != nil {
|
||||
err = v.nm.Destroy()
|
||||
}
|
||||
os.Remove(v.FileName() + ".idx")
|
||||
os.Remove(v.FileName() + ".cpd")
|
||||
os.Remove(v.FileName() + ".cpx")
|
||||
os.Remove(v.FileName() + ".ldb")
|
||||
|
Loading…
Reference in New Issue
Block a user