Browse Source

clean up sorted index file

pull/1167/head
Chris Lu 5 years ago
parent
commit
ef3ae3cd41
  1. 2
      weed/storage/volume_read_write.go

2
weed/storage/volume_read_write.go

@ -49,10 +49,10 @@ func (v *Volume) Destroy() (err error) {
os.Remove(v.FileName() + ".dat")
os.Remove(v.FileName() + ".idx")
os.Remove(v.FileName() + ".tier")
os.Remove(v.FileName() + ".sdb")
os.Remove(v.FileName() + ".cpd")
os.Remove(v.FileName() + ".cpx")
os.RemoveAll(v.FileName() + ".ldb")
os.RemoveAll(v.FileName() + ".bdb")
return
}

Loading…
Cancel
Save