This commit is contained in:
chrislu committed 2025-07-24 22:55:22 -07:00
1 parent 16a29b57f9
commit e7084c5b7e
3 files changed
+146 -176

No files matched your search

+1 -1
View File
@@ -287,7 +287,7 @@ func (ms *MasterSynchronizer) checkECEncodingCandidate(volumeID uint32, state *V
// Check if volume is already EC encoded by checking if we have any EC shards for this volume
// For simplicity, assume no EC encoding for now since we don't have direct access to EC shard state
isCandidate := (volume.ReadOnly || volume.Size > ecSizeThreshold) &&
isCandidate := volume.Size > ecSizeThreshold &&
volume.Size > 1024*1024 // At least 1MB
if !isCandidate {