Operational Defect Database

BugZero found this defect 2526 days ago.

MongoDB | 367647

[SERVER-28493] Wait for secondary's dry run election to finish before healing network in no_flapping_during_network_partition.js

Last update date:

12/6/2017

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

3.5.7

Description:

Info

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

Top User Comments

xgen-internal-githook commented on Fri, 21 Apr 2017 21:40:38 +0000: 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

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...