[SERVER-27775] fix race in collection_cloner_test CollectionClonerTest::CollectionClonerCannotBeRestartedAfterPreviousFailure Created: 22/Jan/17  Updated: 05/Apr/17  Resolved: 23/Jan/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.4.2, 3.5.2
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
depends on SERVER-27678 CollectionCloner should call _finishC... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: Repl 2017-02-13
Participants:
Linked BF Score: 0

 Description   

Since SERVER-27678, it is insufficient to wait for CollectionCloner::waitForDbWorkers() to return before checking the final status. We fixed a number of test cases during SERVER-27678 but overlooked this test case.



 Comments   
Comment by Githook User [ 23/Jan/17 ]

Author:

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

Message: SERVER-27775 fixed race in CollectionClonerTest::CollectionClonerCannotBeRestartedAfterPreviousFailure

(cherry picked from commit ae04822985f2478c7da1e6821f5fc91b484b9555)
Branch: v3.4
https://github.com/mongodb/mongo/commit/834227046228cddfd128a4970b5dd9284d2a345c

Comment by Githook User [ 23/Jan/17 ]

Author:

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

Message: SERVER-27775 fixed race in CollectionClonerTest::CollectionClonerCannotBeRestartedAfterPreviousFailure
Branch: master
https://github.com/mongodb/mongo/commit/ae04822985f2478c7da1e6821f5fc91b484b9555

Comment by Benety Goh [ 22/Jan/17 ]

race in unit test was introduced as a result of changes relating to the completion guard introduced in SERVER-27678

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