mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-24 13:16:28 +00:00
feature: support kms && encryt (#573)
* feat(kms): implement key management service with local and vault backends Signed-off-by: junxiang Mu <1948535941@qq.com> * feat(kms): enhance security with zeroize for sensitive data and improve key management Signed-off-by: junxiang Mu <1948535941@qq.com> * remove Hashi word Signed-off-by: junxiang Mu <1948535941@qq.com> * refactor: remove unused request structs from kms handlers Signed-off-by: junxiang Mu <1948535941@qq.com> --------- Signed-off-by: junxiang Mu <1948535941@qq.com>
This commit is contained in:
@@ -1997,6 +1997,17 @@ 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 {
|
||||
@@ -2004,6 +2015,10 @@ 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