mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-17 10:17:55 +00:00
fix bug
This commit is contained in:
@@ -46,7 +46,7 @@ impl Erasure {
|
||||
}
|
||||
}
|
||||
|
||||
#[tracing::instrument(level = "debug", skip(self, body,writers))]
|
||||
#[tracing::instrument(level = "debug", skip(self, body, writers))]
|
||||
pub async fn encode<S>(
|
||||
&self,
|
||||
body: S,
|
||||
@@ -425,9 +425,8 @@ impl ShardReader {
|
||||
}
|
||||
}
|
||||
|
||||
// debug!("ec decode read ress {:?}", &ress);
|
||||
|
||||
if !self.can_decode(&ress) {
|
||||
warn!("ec decode read ress {:?}", &ress);
|
||||
warn!("ec decode read errors {:?}", &errors);
|
||||
|
||||
return Err(Error::msg("shard reader read faild"));
|
||||
|
||||
Reference in New Issue
Block a user