From 2aa59ab37cf70b7f0ee8d4c5078be064e0e1a190 Mon Sep 17 00:00:00 2001 From: chrislu Date: Tue, 4 Jul 2023 11:28:12 -0700 Subject: [PATCH] fix copying level db files during commi fix https://github.com/seaweedfs/seaweedfs/issues/4635 --- weed/storage/volume.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/storage/volume.go b/weed/storage/volume.go index 0fea68015..232930b80 100644 --- a/weed/storage/volume.go +++ b/weed/storage/volume.go @@ -92,7 +92,7 @@ func (v *Volume) IndexFileName() (fileName string) { func (v *Volume) FileName(ext string) (fileName string) { switch ext { - case ".idx", ".cpx", ".ldb": + case ".idx", ".cpx", ".ldb", ".cpldb": return VolumeFileName(v.dirIdx, v.Collection, int(v.Id)) + ext } // .dat, .cpd, .vif