aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weed/storage/disk_location_ec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/disk_location_ec.go b/weed/storage/disk_location_ec.go
index 47b7f8e29..41a366059 100644
--- a/weed/storage/disk_location_ec.go
+++ b/weed/storage/disk_location_ec.go
@@ -225,7 +225,7 @@ func (l *DiskLocation) loadAllEcShards() (err error) {
prevVolumeId = 0
continue
}
- prevVolumeId = volumeId
+ prevVolumeId = 0
sameVolumeShards = nil
continue
}