fix copying level db files during commi

fix https://github.com/seaweedfs/seaweedfs/issues/4635
This commit is contained in:
chrislu 2023-07-04 11:28:12 -07:00
parent 5cb8980f70
commit 2aa59ab37c

View file

@ -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