add env RUSTFS_ERASURE_SET_DRIVE_COUNT

This commit is contained in:
weisd
2024-10-05 12:33:39 +08:00
parent 10c63effd4
commit 46f7c010ca
14 changed files with 161 additions and 189 deletions
+2 -1
View File
@@ -400,9 +400,10 @@ impl ShardReader {
}
// debug!("ec decode read ress {:?}", &ress);
warn!("ec decode read errors {:?}", &errors);
if !self.can_decode(&ress) {
warn!("ec decode read errors {:?}", &errors);
return Err(Error::msg("shard reader read faild"));
}