mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-05 20:52:50 +08:00
skip ec volumes when loading normal volumes
This commit is contained in:
parent
332d49432d
commit
f0d1e7bd05
@ -95,6 +95,11 @@ func (l *DiskLocation) loadExistingVolume(fileInfo os.FileInfo, needleMapKind Ne
|
||||
return false
|
||||
}
|
||||
|
||||
// skip ec volumes
|
||||
if util.FileExists(l.Directory + "/" + volumeName + ".ecx") {
|
||||
return false
|
||||
}
|
||||
|
||||
// check for incomplete volume
|
||||
noteFile := l.Directory + "/" + volumeName + ".note"
|
||||
if util.FileExists(noteFile) {
|
||||
|
Loading…
Reference in New Issue
Block a user