diff --git a/ecstore/src/erasure.rs b/ecstore/src/erasure.rs index da245116..76da879c 100644 --- a/ecstore/src/erasure.rs +++ b/ecstore/src/erasure.rs @@ -94,7 +94,7 @@ impl Erasure { } } - warn!("Erasure encode errs {:?}", &errs); + debug!("Erasure encode errs {:?}", &errs); let none_count = errs.iter().filter(|&x| x.is_none()).count(); if none_count >= write_quorum { diff --git a/ecstore/src/store_api.rs b/ecstore/src/store_api.rs index 12710705..bcf9e0a8 100644 --- a/ecstore/src/store_api.rs +++ b/ecstore/src/store_api.rs @@ -27,7 +27,7 @@ pub struct FileInfo { pub fresh: bool, // indicates this is a first time call to write FileInfo. pub parts: Vec, pub is_latest: bool, - #[serde(skip_serializing_if = "Option::is_none", default)] + // #[serde(skip_serializing_if = "Option::is_none", default)] pub tags: Option>, pub metadata: Option>, pub num_versions: usize, diff --git a/rustfs/src/storage/ecfs.rs b/rustfs/src/storage/ecfs.rs index ae44da1e..090afb31 100644 --- a/rustfs/src/storage/ecfs.rs +++ b/rustfs/src/storage/ecfs.rs @@ -629,6 +629,7 @@ impl S3 for FS { .. } = req.input; + // error!("complete_multipart_upload {:?}", multipart_upload); // mc cp step 5 let Some(multipart_upload) = multipart_upload else { return Err(s3_error!(InvalidPart)) }; diff --git a/scripts/run.sh b/scripts/run.sh index 1a7b2073..248d286b 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -7,7 +7,7 @@ mkdir -p ./target/volume/test{0..4} if [ -z "$RUST_LOG" ]; then - export RUST_LOG="rustfs=debug,ecstore=debug,s3s=debug" + export RUST_LOG="rustfs=debug,ecstore=info,s3s=debug" fi DATA_DIR_ARG="./target/volume/test{0...4}"