Compare commits

...

2 Commits

Author SHA1 Message Date
overtrue 53b365606e test(heal): include scanner status in cycle timeout diagnostics 2026-09-08 17:58:46 +08:00
overtrue 3b7298eede test(heal): drain PUT renames before physical census
(cherry picked from commit 618d38372cab961f293789a3bf08b8a8925e9771)
2026-09-08 17:57:56 +08:00
@@ -923,7 +923,7 @@ mod tests {
latest_cycle_end = latest_cycle_end.max(cycle_end);
versions_observed |= versions_scanned > 0;
observations.push(format!(
"node{node_index}: end={cycle_end}, versions={versions_scanned}, cycle={}, active={}, leader={}, result={}",
"node{node_index}: end={cycle_end}, versions={versions_scanned}, cycle={}, active={}, leader={}, result={}, status={status}",
metrics["current_cycle"],
metrics["current_cycle_active"],
metrics["leader_lock_state"],
@@ -1047,6 +1047,8 @@ mod tests {
let mut cluster = RustFSTestClusterEnvironment::new(4).await?;
cluster.set_env("RUSTFS_UNSAFE_BYPASS_DISK_CHECK", "true");
cluster.set_env("RUSTFS_HEAL_ENABLED", "true");
// Capture physical baselines after the PUT rename fanout has drained.
cluster.set_env("RUSTFS_PUT_RENAME_EARLY_ACK_ENABLE", "false");
// Heal control uses the first lexicographically sorted grid host.
// Keep that coordinator distinct from the remote target at index 1.
cluster.nodes.sort_by(|left, right| left.url.cmp(&right.url));