aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-06-28 14:57:23 -0700
committerchrislu <chris.lu@gmail.com>2024-06-28 14:57:23 -0700
commit1c0718f26d748d908c0d4ee1cc5dce071c1af74b (patch)
tree626d59dd4e106feb9daa08a8b9e851666c847172
parentc030cb3ce98701e266fa54031b70be805af6835b (diff)
parent4d0bf6ddd4caf2cd768d143c68dfdcf72fe933e9 (diff)
downloadseaweedfs-1c0718f26d748d908c0d4ee1cc5dce071c1af74b.tar.xz
seaweedfs-1c0718f26d748d908c0d4ee1cc5dce071c1af74b.zip
Merge branch 'master' of https://github.com/seaweedfs/seaweedfs
-rw-r--r--weed/storage/disk_location.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/disk_location.go b/weed/storage/disk_location.go
index b7fa82197..9f61ad872 100644
--- a/weed/storage/disk_location.go
+++ b/weed/storage/disk_location.go
@@ -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
}
}