[SERVER-48379] ReplSetTest should wait for secondaries before checking db hashes Created: 21/May/20  Updated: 29/Oct/23  Resolved: 27/May/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.4.0-rc9, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Vesselina Ratcheva (Inactive) Assignee: Vesselina Ratcheva (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-45610 Some reads work while system is RECOV... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2
Sprint: Repl 2020-06-01
Participants:
Linked BF Score: 44

 Description   

We can only run the consistency checks on nodes in secondary (or primary) state. However, there is an unknown number of tests that may terminate (i.e. call stopSet on) sets where some secondaries are not finished recovering. Rather than fixing those piecemeal, it should be safe for us to just make the consistency hooks wait for the nodes they are checking to be ready.



 Comments   
Comment by Githook User [ 05/Jun/20 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-48379 Make ReplSetTest wait for secondaries before checking db hashes

(cherry picked from commit 9a6b5b9d099eb25aafc26fbf17c27fd32ad4b5ef)
Branch: v4.4
https://github.com/mongodb/mongo/commit/467ab964f401a6922758cacfc84a345be340441e

Comment by Githook User [ 27/May/20 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-48379 Make ReplSetTest wait for secondaries before checking db hashes
Branch: master
https://github.com/mongodb/mongo/commit/f644958702c699d5f463c9b4028956e1a75e23fb

Generated at Thu Feb 08 05:16:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.