Browse Source

fix copying level db files during commi

fix https://github.com/seaweedfs/seaweedfs/issues/4635
pull/4641/head
chrislu 1 year ago
parent
commit
2aa59ab37c
  1. 2
      weed/storage/volume.go

2
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

Loading…
Cancel
Save