diff --git a/ecstore/src/erasure.rs b/ecstore/src/erasure.rs index ab6240be5..536d4acb3 100644 --- a/ecstore/src/erasure.rs +++ b/ecstore/src/erasure.rs @@ -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( &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")); diff --git a/rustfs/src/storage/ecfs.rs b/rustfs/src/storage/ecfs.rs index 00bc0e968..a98ef7a24 100644 --- a/rustfs/src/storage/ecfs.rs +++ b/rustfs/src/storage/ecfs.rs @@ -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, - ) -> S3Result> { - Err(s3_error!(NotImplemented, "ListObjectVersions is not implemented yet")) - } - #[tracing::instrument(level = "debug", skip(self))] async fn get_bucket_versioning( &self,