mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-30 16:59:52 +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>(
|
pub async fn encode<S>(
|
||||||
&self,
|
&self,
|
||||||
body: S,
|
body: S,
|
||||||
@@ -425,9 +425,8 @@ impl ShardReader {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// debug!("ec decode read ress {:?}", &ress);
|
|
||||||
|
|
||||||
if !self.can_decode(&ress) {
|
if !self.can_decode(&ress) {
|
||||||
|
warn!("ec decode read ress {:?}", &ress);
|
||||||
warn!("ec decode read errors {:?}", &errors);
|
warn!("ec decode read errors {:?}", &errors);
|
||||||
|
|
||||||
return Err(Error::msg("shard reader read faild"));
|
return Err(Error::msg("shard reader read faild"));
|
||||||
|
|||||||
@@ -872,14 +872,6 @@ impl S3 for FS {
|
|||||||
Ok(S3Response::new(DeleteObjectTaggingOutput { version_id: None }))
|
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))]
|
#[tracing::instrument(level = "debug", skip(self))]
|
||||||
async fn get_bucket_versioning(
|
async fn get_bucket_versioning(
|
||||||
&self,
|
&self,
|
||||||
|
|||||||
Reference in New Issue
Block a user