mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix copying level db files during commi
fix https://github.com/seaweedfs/seaweedfs/issues/4635
This commit is contained in:
parent
5cb8980f70
commit
2aa59ab37c
|
@ -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…
Reference in a new issue