[SERVER-36732] Wait for all secondaries to be up and electable in election handoff jstests Created: 17/Aug/18  Updated: 29/Oct/23  Resolved: 13/Sep/18

Status: Closed
Project: Core Server
Component/s: Replication, Testing Infrastructure
Affects Version/s: 3.6.7, 4.0.2, 4.1.2
Fix Version/s: 3.6.9, 4.0.3, 4.1.4

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
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0, v3.6
Sprint: Repl 2018-08-27, Repl 2018-09-10, Repl 2018-09-24
Participants:
Linked BF Score: 13

 Description   

It is possible for the primary to have to make a decision about the handoff candidate before it has become aware of all the secondaries' states. We should make sure it knows about all electable secondaries before stepping it down.



 Comments   
Comment by Githook User [ 19/Sep/18 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@mongodb.com'}

Message: SERVER-36732 Wait for secondaries to be up and electable in election handoff jstests

(cherry picked from commit 58e6224a7b2ff55f111e1b2fd69218ad43e91cd7)
Branch: v3.6
https://github.com/mongodb/mongo/commit/c592746e107665291e094bd0c2a1a8b7e98a9c66

Comment by Githook User [ 19/Sep/18 ]

Author:

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

Message: SERVER-36732 amend write
Branch: v4.0
https://github.com/mongodb/mongo/commit/723f3e5c85d8b3cb30d33191bf0ef187ce374cc2

Comment by Githook User [ 19/Sep/18 ]

Author:

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

Message: SERVER-36732 amend write
Branch: master
https://github.com/mongodb/mongo/commit/5f61edb2c73e569cb4b265ca8f453536e7b7b016

Comment by Githook User [ 13/Sep/18 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@mongodb.com'}

Message: SERVER-36732 Wait for secondaries to be up and electable in election handoff jstests

(cherry picked from commit 58e6224a7b2ff55f111e1b2fd69218ad43e91cd7)
Branch: v4.0
https://github.com/mongodb/mongo/commit/6f672903e6d8d3f9c0a9f85ea721bbd487ec6fb0

Comment by Githook User [ 13/Sep/18 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@mongodb.com'}

Message: SERVER-36732 Wait for secondaries to be up and electable in election handoff jstests
Branch: master
https://github.com/mongodb/mongo/commit/58e6224a7b2ff55f111e1b2fd69218ad43e91cd7

Generated at Thu Feb 08 04:43:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.