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"));
-8
View File
@@ -872,14 +872,6 @@ impl S3 for FS {
Ok(S3Response::new(DeleteObjectTaggingOutput { version_id: None }))
}
#[tracing::instrument(level = "debug", skip(self))]
async fn list_object_versions(
&self,
_req: S3Request<ListObjectVersionsInput>,
) -> S3Result<S3Response<ListObjectVersionsOutput>> {
Err(s3_error!(NotImplemented, "ListObjectVersions is not implemented yet"))
}
#[tracing::instrument(level = "debug", skip(self))]
async fn get_bucket_versioning(
&self,