-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Bazel
-
None
-
Server Security
-
Fully Compatible
-
Server Security 2026-11-20, Server Security 2026-12-04
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Stop `pali_chaos_key` from failing a round when a node exits on the SecondaryLagWatchdog after the chaos phase, restarts, and rejoins.
In `recoverSteppedDownNodes` (`pali_chaos_key/key_stepdown_recovery.js`), a recovered `lag-watchdog` exit no longer adds the `[MONGOD BUG] ... exited on the secondary lag watchdog after the chaos phase` failure. It is logged as tolerated and still counted into `stats.lagWatchdogExits`, so `verdict.summary.lagWatchdogExits` still reports it.
Why: In BF-47278 the standby was restarted by a chaos event and was still draining the backlog the faults left when the watchdog fired (lag ~121s vs the 120s default). The node self-terminated by design, the framework restarted it, it rejoined, and the round failed anyway. Lag left over from the chaos phase is expected to trip the watchdog while the node catches up.
Scope / safety:
- Test-only, one file. No server code or production watchdog defaults change.
- Shared chaos code is untouched, so `pali_chaos.js` is unaffected.
- A node that fails to restart or does not rejoin still fails the round. Crashes still fail the crash checks. Watchdog exits during chaos are still reported by `chaos_runner.js`.
Not addressed: the standby installs checkpoints ~2x slower than normal after a late restart, and related dbHash catch-up timeouts are tracked in BF-46851. This change does not fix that.
Testing: Not yet validated in CI. `disagg_pali_chaos_key` is quarantined in patches (TQ-35, related BF-46851), so a patch needs `--param 'test_selection_bypass_quarantine=[...]'`. A bypass patch is running; results will be added in a comment. `bazel run format` is clean.