mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-13 00:26:53 +00:00
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:
@@ -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?;
|
||||
|
||||
Reference in New Issue
Block a user