[SERVER-15160] TopologyCoordinatorImpl should not always step down on reconfig Created: 05/Sep/14  Updated: 10/May/17  Resolved: 10/Oct/14

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

Type: Bug Priority: Major - P3
Reporter: Andy Schwerin Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-5788 primary stepdown on reconfig isn't ne... Closed
is depended on by SERVER-11564 replset reconfigs trigger elections s... Closed
Related
related to DOCS-10235 Comment on: "manual/tutorial/remove-r... Closed
Backwards Compatibility: Minor Change
Operating System: ALL
Participants:

 Description   

The heartbeating implementation in TopologyCoordinatorImpl does not attempt to stay primary across reconfigs where new elections could be avoided. It should, to be consistent with old behavior and to minimize the number of unnecessary elections.



 Comments   
Comment by Andy Schwerin [ 24/Jul/15 ]

moboyle, if you have a specific example of what you believe to be a failure, could you file a new ticket?

Comment by Michael O'Boyle [ 23/Jul/15 ]

It doesn't look like the dependent (duplicate) tasks were truly fixed with this fix.

Comment by Githook User [ 14/Oct/14 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-15160 small additional cleanups to topology coordinator tests
Branch: master
https://github.com/mongodb/mongo/commit/b51d7e60c5eecc22f72727610459c009ffaac2b0

Comment by Githook User [ 14/Oct/14 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-15160 Cleanup TopoCoordTest helper methods
Branch: master
https://github.com/mongodb/mongo/commit/d443c8c1bd7ad9755c29214bdb094ad6a12bc7f5

Comment by Githook User [ 14/Oct/14 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-15160 Unit test for reconfigs not causing unnecessary stepdown
Branch: master
https://github.com/mongodb/mongo/commit/12c105532853cee31b8e7824207d3757a4ddab69

Comment by Githook User [ 10/Oct/14 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-15160 Don't stepdown on reconfigs unless necessary
Branch: master
https://github.com/mongodb/mongo/commit/3021308c97db12d76b02463fdada6eae326677e2

Generated at Thu Feb 08 03:37:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.