mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 06:50:40 +02:00
skip ec volumes when loading normal volumes
This commit is contained in:
1 parent
332d49432d
commit
f0d1e7bd05
1 file changed
+5
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user