[SERVER-15849] Secondaries should not forward replication information for removed chained nodes Created: 28/Oct/14  Updated: 27/Aug/16  Resolved: 01/Dec/14

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 2.6.5
Fix Version/s: 2.6.6

Type: Bug Priority: Major - P3
Reporter: Matt Dannenberg Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by SERVER-16475 can't move chunk Closed
Related
Operating System: ALL
Participants:

 Description   
Issue Status as of Dec 10, 2014

ISSUE SUMMARY
On a replicaset that uses chained replication, if a secondary with id M that syncs from secondary with id N is removed, node N continues to forward replication information about M to the primary.

USER IMPACT
The following message appears repeatedly in the primary's logfile:

replset couldn't find a slave with id M

If the removed node is required to meet a specific write concern, write operations with that write concern will wait indefintely unless a wtimeout was specified.

On a sharded cluster, during a chunk migration the destination shard will wait for the final writes to be replicated to the majority of the nodes. If the write concern cannot be satisfied and a wtimeout was not specified, the chunk migration times out after 60 minutes.

WORKAROUNDS
There is no workaround for this issue.

AFFECTED VERSIONS
MongoDB 2.6 versions up to 2.6.5 are affected by this issue.

FIX VERSION
The fix is included in the 2.6.6 production release.

RESOLUTION DETAILS
Secondaries no longer forward replication progress for nodes that are no longer part of a replica set



 Comments   
Comment by Githook User [ 01/Dec/14 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-15849 fix reversed logic
Branch: v2.6
https://github.com/mongodb/mongo/commit/583191c572680b710f155b49bb2eb6ea20fbcc6b

Comment by Githook User [ 01/Dec/14 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-15849 add test for removing a chained member
Branch: master
https://github.com/mongodb/mongo/commit/977abaaba51aeda3b4c6f0774aeb66b41aaa2274

Comment by Githook User [ 01/Dec/14 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-15849 add test for removing a chained member
Branch: v2.6
https://github.com/mongodb/mongo/commit/80afbf31aee7585814079cfdb1dc6281bd96a1e7

Comment by Githook User [ 01/Dec/14 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-15849 clear SyncSourceFeedback maps on non-additive reconfigs
Branch: v2.6
https://github.com/mongodb/mongo/commit/effc9042bdca26e40230399aac85e4a94a6fd01f

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