[SERVER-14549] Race condition can cause replSetUpdatePosition command to be sent with information about nodes that the sync source doesn't yet know about Created: 14/Jul/14 Updated: 26/Jul/14 Resolved: 16/Jul/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication, Testing Infrastructure |
| Affects Version/s: | 2.7.3 |
| Fix Version/s: | 2.7.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
In sync_source_feedback.cpp we first check if a handshake is needed or we need to send a sync progress update upstream. But if after that check but before sending the progress update we receive a handshake from another secondary chaining off of us, then the update we send can include information about this new chained node, but we haven't sent a handshake for that node upstream to our sync source yet. |
| Comments |
| Comment by Githook User [ 16/Jul/14 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}Message: |
| Comment by Spencer Brody (Inactive) [ 15/Jul/14 ] |
|
https://github.com/mongodb/mongo/commit/54b5ee0c06ffc98c6b908ea3a908cf637ce4e15b |
| Comment by Githook User [ 14/Jul/14 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}Message: |