[SERVER-5258] RS manager can demote current primary without any log messages or closing connections Created: 08/Mar/12  Updated: 11/Jul/16  Resolved: 15/May/12

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 2.0.7
Fix Version/s: 2.1.2

Type: Bug Priority: Critical - P2
Reporter: Kristina Chodorow (Inactive) Assignee: Kristina Chodorow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-6214 Race condition where member gets stuc... Closed
Related
Operating System: ALL
Participants:

 Comments   
Comment by Eric Milkie [ 03/Jul/12 ]

Bumping for backport consideration to 2.0.8

Comment by Eric Milkie [ 03/Jul/12 ]

After attempting to backport again by including code from SERVER-6214, the remove1.js test still fails. It appears to go into state STARTUP and never exits. This is still a bug, so we cannot do this backport for 2.0.7. The code in master has changed how removed nodes work (with a new state SHUNNED) and thus does not hit this issue.

Comment by auto [ 26/Jun/12 ]

Author:

{u'date': u'2012-06-26T16:55:35-07:00', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: Revert "Always go through relinquish when stepping down SERVER-5258"

This reverts commit 4ecae7484e4813efc1a81b4f21147632bea8b1aa.

Caused failures in jstests/replsets/remove1.js .
Branch: v2.0
https://github.com/mongodb/mongo/commit/7012a032376651f06eed6f0aaaaa71442693c11e

Comment by Tad Marshall [ 25/Jun/12 ]

Backported to version 2.0.7.

Comment by auto [ 25/Jun/12 ]

Author:

{u'date': u'2012-06-25T09:57:34-07:00', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: Always go through relinquish when stepping down SERVER-5258

Signed-off-by: Tad Marshall <tad@10gen.com>
Branch: v2.0
https://github.com/mongodb/mongo/commit/4ecae7484e4813efc1a81b4f21147632bea8b1aa

Comment by Tad Marshall [ 21/Jun/12 ]

Marking backport version as 2.0.7.

Comment by auto [ 15/May/12 ]

Author:

{u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: Always go through relinquish when stepping down SERVER-5258
Branch: master
https://github.com/mongodb/mongo/commit/c84b884d83250c97f88fd94f2b4420918a4b6825

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