mirror of
https://github.com/rustfs/rustfs.git
synced 2026-09-01 01:38:18 +00:00
e009eab4f1
fix(replication): surface per-object failures and abort orphaned multipart uploads Replication could mark an object FAILED with no server-log line naming the object: the target-offline skip paths logged at debug without the object key, and several failure branches omitted the key entirely. A failed multipart transfer also leaked its incomplete upload on the target, since nothing ever aborted it after CreateMultipartUpload succeeded. Log the offline skips at warn with the object key (they report the object FAILED, matching the per-object put_object failure level), add the object field to the remaining failure branches, and abort the target-side multipart upload best-effort on any post-create failure without masking the original transfer error. Fixes #6825