[SERVER-27741] fix race in DataReplicatorTest::DataReplicatorResetsOnCompletionCallbackFunctionPointerUponCompletion Created: 18/Jan/17 Updated: 05/Apr/17 Resolved: 19/Jan/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.2, 3.5.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Completed: | |||||||||||||||||
| Backport Requested: |
v3.4
|
||||||||||||||||
| Sprint: | Repl 2017-01-23 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||
| Description |
|
If the DataReplicatorTest::DataReplicatorResetsOnCompletionCallbackFunctionPointerUponCompletion test case makes it past the _chooseSyncSource stage and sends a replSetGetRBID request, calling shutdown() without requesting the network interface to deliver the cancellation signal to _rollbackCheckerResetCallback will lead to DataReplicator::join() hanging. |
| Comments |
| Comment by Githook User [ 21/Jan/17 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: (cherry picked from commit 6a2af712f71774dae250c4cbe5f8ac695cfec3ea) |
| Comment by Githook User [ 19/Jan/17 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |