mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-08 13:07:45 +01:00
compiles
This commit is contained in:
1 parent
16a29b57f9
commit
e7084c5b7e
3 files changed
+146
-176
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user