-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
Fully Compatible
-
ALL
-
v8.0
-
Execution Team 2024-08-05, Execution Team 2024-08-19
-
0
This test may fail to check the indexes on the restarted secondary node because it is not waiting for the restarted node to be readable as a secondary.
The ReplSetTest.waitForState() and awaitReplication() calls are not sufficient for ensuring that the secondary node is available because waitForState is based on the primary's view of the replica set.
One possible solution would be to remove the waitForState() call from the test and invoke ReplSetTest.awaitSecondaryNodes right before the test checks the secondary's indexes.
This issue may also be present in other index build tests that contain the changes from SERVER-75579.
- is related to
-
SERVER-75579 indexbg_killop_stepdown.js should wait for restarted mongod to become secondary
-
- Closed
-