[SERVER-27905] fix race in DataReplicatorTest::DataReplicatorReturnsCallbackCanceledIfShutdownImmediatelyAfterStartup Created: 03/Feb/17  Updated: 05/Apr/17  Resolved: 08/Feb/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.4.3, 3.5.3

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
is related to SERVER-27741 fix race in DataReplicatorTest::DataR... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: Repl 2017-02-13
Participants:
Linked BF Score: 0

 Description   

This bug is a similar to SERVER-27741.

If the test 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 [ 09/Feb/17 ]

Author:

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

Message: SERVER-27905 fixed race in DataReplicatorTest::DataReplicatorReturnsCallbackCanceledIfShutdownImmediatelyAfterStartup

(cherry picked from commit add23651e74f09a71f48736ad3880d5cad03dfcb)
Branch: v3.4
https://github.com/mongodb/mongo/commit/cc58ce4f0d56e5bac279cb82fb23087f7970b9fb

Comment by Githook User [ 08/Feb/17 ]

Author:

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

Message: SERVER-27905 fixed race in DataReplicatorTest::DataReplicatorReturnsCallbackCanceledIfShutdownImmediatelyAfterStartup
Branch: master
https://github.com/mongodb/mongo/commit/add23651e74f09a71f48736ad3880d5cad03dfcb

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