From ef3ae3cd415a71b52afb94770853268883a41baa Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 18 Dec 2019 20:59:15 -0800 Subject: [PATCH] clean up sorted index file --- weed/storage/volume_read_write.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/storage/volume_read_write.go b/weed/storage/volume_read_write.go index e9f6175aa..c464392f9 100644 --- a/weed/storage/volume_read_write.go +++ b/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 }