[SERVER-26999] race between DatabasesCloner::_succeed_inlock and DataReplicator::_doNextActions_InitialSync_inlock() could prevent initial sync from completing Created: 11/Nov/16  Updated: 25/Jan/17  Resolved: 12/Nov/16

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.4.0-rc4

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:
Depends
is depended on by SERVER-25662 Data replicator should stop initial s... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2016-11-21
Participants:
Linked BF Score: 0

 Description   

The DatabasesClonermay still be active when the last oplog fetcher callback is invoked.

[js_test:rename_collection_temp] 2016-11-10T20:51:43.995+0000 d20261| 2016-11-10T20:51:43.994+0000 I REPL     [repl writer worker 15] data clone finished, status: OK
[js_test:rename_collection_temp] 2016-11-10T20:51:43.995+0000 d20261| 2016-11-10T20:51:43.995+0000 I REPL     [replication-0] No need to apply operations. (currently at { : Timestamp 1478811101000|1 })
2016-11-10 20:51:45 +0000	
[js_test:rename_collection_temp] 2016-11-10T20:51:45.750+0000 d20261| 2016-11-10T20:51:45.749+0000 I REPL     [ReplicationExecutor] Member ip-10-37-182-112:20260 is now in state PRIMARY
2016-11-10 20:52:43 +0000	
[js_test:rename_collection_temp] 2016-11-10T20:52:43.995+0000 d20260| 2016-11-10T20:52:43.995+0000 I -        [conn4] end connection 10.37.182.112:46555 (4 connections now open)
2016-11-10 21:01:42 +0000	
[js_test:rename_collection_temp] 2016-11-10T21:01:42.018+0000 assert.soon failed, msg:Awaiting secondaries



 Comments   
Comment by Githook User [ 12/Nov/16 ]

Author:

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

Message: SERVER-26999 fixed race between DatabasesCloner callback and DataReplicator::_onApplierReadyStart
Branch: master
https://github.com/mongodb/mongo/commit/dfe9b688956e19095e2d37e21bb40c7b7ad17900

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