fix(replication): keep first-replication miss quiet in multipart LWW log

Version-absent is the normal first delivery of a version, not a
degraded comparison skip; only real read errors (quorum loss) warrant
the warn added in the previous commit.
This commit is contained in:
唐小鸭
2026-08-21 19:35:22 +08:00
parent 66e63d20dd
commit 858cf20d9a
@@ -2253,6 +2253,9 @@ impl crate::storage_api_contracts::multipart::MultipartOperations for SetDisks {
let stored = crate::set_disk::ops::object::stored_replication_category_metadata(&existing);
crate::set_disk::ops::object::merge_replication_metadata_lww(&mut fi.metadata, &stored, opts);
}
// Version absent: first replication of this version, nothing
// local to compare — the normal path, not a degraded one.
Err(err) if is_err_object_not_found(&err) || is_err_version_not_found(&err) => {}
Err(err) => {
// Degraded path: without the stored state the inbound
// metadata is applied unchanged — exactly the overwrite