remove debug (#912)

* remove debug

* Refactor get_global_encryption_service function

* Refactor get_global_encryption_service function

---------

Co-authored-by: loverustfs <hello@rustfs.com>
Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
Shyim
2025-11-26 04:56:01 +01:00
committed by GitHub
parent 069194f553
commit ee04cc77a0
3 changed files with 2 additions and 35 deletions
-15
View File
@@ -2003,17 +2003,6 @@ impl DiskAPI for LocalDisk {
}
};
// CLAUDE DEBUG: Check if inline data is being preserved
tracing::info!(
"CLAUDE DEBUG: rename_data - Adding version to xlmeta. fi.data.is_some()={}, fi.inline_data()={}, fi.size={}",
fi.data.is_some(),
fi.inline_data(),
fi.size
);
if let Some(ref data) = fi.data {
tracing::info!("CLAUDE DEBUG: rename_data - FileInfo has inline data: {} bytes", data.len());
}
xlmeta.add_version(fi.clone())?;
if xlmeta.versions.len() <= 10 {
@@ -2021,10 +2010,6 @@ impl DiskAPI for LocalDisk {
}
let new_dst_buf = xlmeta.marshal_msg()?;
tracing::info!(
"CLAUDE DEBUG: rename_data - Marshaled xlmeta, new_dst_buf size: {} bytes",
new_dst_buf.len()
);
self.write_all(src_volume, format!("{}/{}", &src_path, STORAGE_FORMAT_FILE).as_str(), new_dst_buf.into())
.await?;