fix(replication): persist sanitized resync errors (#5200)

This commit is contained in:
cxymds
2026-07-24 22:15:51 +08:00
committed by GitHub
parent 20c4ea864a
commit d7f30fe0a2
4 changed files with 230 additions and 7 deletions
@@ -17,7 +17,8 @@ use super::replication_filemeta_boundary::MrfReplicateEntry;
pub use rustfs_replication::{BucketReplicationResyncStatus, ResyncOpts, ResyncStatusType, TargetReplicationResyncStatus};
pub(crate) use rustfs_replication::{
is_version_id_mismatch, resync_state_accepts_update, should_auto_resume_resync, should_count_head_proxy_failure,
is_version_id_mismatch, resync_state_accepts_update, sanitize_resync_error_detail, should_auto_resume_resync,
should_count_head_proxy_failure,
};
pub(crate) const RESYNC_META_FORMAT: u16 = rustfs_replication::resync::RESYNC_META_FORMAT;