mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-05 20:52:50 +08:00
fixed fail to initialize existing ec volume when volume server has separate index dictory (#5723)
This commit is contained in:
parent
81188ec9cb
commit
4d0bf6ddd4
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user