mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00: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
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// skip ec volumes
|
||||||
|
if util.FileExists(l.Directory + "/" + volumeName + ".ecx") {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
// check for incomplete volume
|
// check for incomplete volume
|
||||||
noteFile := l.Directory + "/" + volumeName + ".note"
|
noteFile := l.Directory + "/" + volumeName + ".note"
|
||||||
if util.FileExists(noteFile) {
|
if util.FileExists(noteFile) {
|
||||||
|
|
Loading…
Reference in a new issue