[SERVER-28493] Wait for secondary's dry run election to finish before healing network in no_flapping_during_network_partition.js Created: 24/Mar/17  Updated: 06/Dec/17  Resolved: 21/Apr/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.5.7

Type: Bug Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: Judah Schvimer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 0

 Description   

To avoid the secondary potentially winning an election and bumping its term unexpectedly, we need to make sure it waits until it has completed a dry run election after checking for arbiter vote rejection. A checkLog.contains for a message like "not running for primary" may be suitable, as that is the main message signalling an unsuccessful dry run election in https://github.com/mongodb/mongo/blob/master/src/mongo/db/repl/replication_coordinator_impl_elect_v1.cpp



 Comments   
Comment by Githook User [ 21/Apr/17 ]

Author:

{u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}

Message: SERVER-28493 Wait for secondary's dry run election to finish before healing network in no_flapping_during_network_partition.js
Branch: master
https://github.com/mongodb/mongo/commit/cdf7d99b56b24780b9586d54d8c5c6995b126c1e

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