From f38f90b7ea546373076c69d3b93069ea8fa46755 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 6 Dec 2019 22:19:47 -0800 Subject: [PATCH] cleanly remove .tier volume file --- weed/storage/volume_read_write.go | 1 + 1 file changed, 1 insertion(+) diff --git a/weed/storage/volume_read_write.go b/weed/storage/volume_read_write.go index f5cdd0944..0f9f8a94b 100644 --- a/weed/storage/volume_read_write.go +++ b/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")