[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:
Backports
Depends
Related
related to SERVER-27905 fix race in DataReplicatorTest::DataR... Closed
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: SERVER-27741 fixed race in DataReplicatorTest::DataReplicatorResetsOnCompletionCallbackFunctionPointerUponCompletion

(cherry picked from commit 6a2af712f71774dae250c4cbe5f8ac695cfec3ea)
Branch: v3.4
https://github.com/mongodb/mongo/commit/44743ea0c00dd3df1d297a08c7b69402d1a35f70

Comment by Githook User [ 19/Jan/17 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-27741 fixed race in DataReplicatorTest::DataReplicatorResetsOnCompletionCallbackFunctionPointerUponCompletion
Branch: master
https://github.com/mongodb/mongo/commit/6a2af712f71774dae250c4cbe5f8ac695cfec3ea

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