fixed fail to initialize existing ec volume when volume server has separate index dictory (#5723)
This commit is contained in:
@@ -138,7 +138,7 @@ func (l *DiskLocation) loadExistingVolume(dirEntry os.DirEntry, needleMapKind Ne
|
||||
|
||||
// skip if ec volumes exists
|
||||
if skipIfEcVolumesExists {
|
||||
if util.FileExists(l.Directory + "/" + volumeName + ".ecx") {
|
||||
if util.FileExists(l.IdxDirectory + "/" + volumeName + ".ecx") {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user