-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Replication
-
Fully Compatible
-
ALL
-
Repl 2024-09-16
-
0
BF-34716 identified that if the primary has stepped down at the time this hook starts then the hook fails due to this check:
https://github.com/mongodb/mongo/blob/7ae3c05a1baf8d0de62d555eb94f604fcea2bb0e/jstests/hooks/run_initial_sync_node_validation.js#L8
We should see if we can make this hook not rely on having a primary, or if not make it more robust to step-downs. Alternatively, we could consider increasing the election timeout used in that particular test/suite, which appears to only be 2 seconds (but that low value may be intentional).