Browse Source

cleanly remove .tier volume file

pull/1148/head
Chris Lu 5 years ago
parent
commit
f38f90b7ea
  1. 1
      weed/storage/volume_read_write.go

1
weed/storage/volume_read_write.go

@ -48,6 +48,7 @@ func (v *Volume) Destroy() (err error) {
v.Close()
os.Remove(v.FileName() + ".dat")
os.Remove(v.FileName() + ".idx")
os.Remove(v.FileName() + ".tier")
os.Remove(v.FileName() + ".cpd")
os.Remove(v.FileName() + ".cpx")
os.RemoveAll(v.FileName() + ".ldb")

Loading…
Cancel
Save