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