mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
cleanly remove .tier volume file
This commit is contained in:
parent
6827cabfbb
commit
f38f90b7ea
|
@ -48,6 +48,7 @@ func (v *Volume) Destroy() (err error) {
|
||||||
v.Close()
|
v.Close()
|
||||||
os.Remove(v.FileName() + ".dat")
|
os.Remove(v.FileName() + ".dat")
|
||||||
os.Remove(v.FileName() + ".idx")
|
os.Remove(v.FileName() + ".idx")
|
||||||
|
os.Remove(v.FileName() + ".tier")
|
||||||
os.Remove(v.FileName() + ".cpd")
|
os.Remove(v.FileName() + ".cpd")
|
||||||
os.Remove(v.FileName() + ".cpx")
|
os.Remove(v.FileName() + ".cpx")
|
||||||
os.RemoveAll(v.FileName() + ".ldb")
|
os.RemoveAll(v.FileName() + ".ldb")
|
||||||
|
|
Loading…
Reference in a new issue