This commit is contained in:
weisd
2024-11-02 15:29:47 +08:00
parent 52a81f8fd5
commit 4a5443996f
2 changed files with 2 additions and 11 deletions
+2 -3
View File
@@ -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"));