mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-03 02:32:35 +01:00
fix copying level db files during commi
fix https://github.com/seaweedfs/seaweedfs/issues/4635
This commit is contained in:
1 parent
5cb8980f70
commit
2aa59ab37c
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user