diff --git a/ecstore/src/erasure.rs b/ecstore/src/erasure.rs index 6ca7a25d9..64c04f523 100644 --- a/ecstore/src/erasure.rs +++ b/ecstore/src/erasure.rs @@ -588,7 +588,7 @@ impl ShardReader { fn can_decode(&self, bufs: &[Option>]) -> bool { let c = bufs.iter().filter(|v| v.is_some()).count(); if self.parity_block_count > 0 { - c > self.data_block_count + c >= self.data_block_count } else { c == self.data_block_count }