[SERVER-27466] move transitionToPrimaryHangBeforeInitializingConfigDatabase to before taking the global exclusive lock Created: 19/Dec/16  Updated: 05/Apr/17  Resolved: 21/Dec/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.5.1
Fix Version/s: 3.4.2, 3.5.2

Type: Bug Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Esha Maharishi (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.4
Sprint: Sharding 2017-01-02
Participants:
Linked BF Score: 0

 Description   

This is to guarantee the secondaries can finish initial sync before the primary takes the global exclusive lock and stops responding to oplog requests from the secondaries.



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

Author:

{u'username': u'EshaMaharishi', u'name': u'Esha Maharishi', u'email': u'esha.maharishi@mongodb.com'}

Message: SERVER-27466 additional fix: lock around checking _inShutdown in ReplicationCoordinator
Branch: v3.4
https://github.com/mongodb/mongo/commit/b758d56dded815c0c9fae8551fd56414bde64749

Comment by Githook User [ 22/Dec/16 ]

Author:

{u'username': u'EshaMaharishi', u'name': u'Esha Maharishi', u'email': u'esha.maharishi@mongodb.com'}

Message: SERVER-27466 additional fix: lock around checking _inShutdown in ReplicationCoordinator
Branch: master
https://github.com/mongodb/mongo/commit/8b6d59479a2a7b3f490057279599d245ee00195b

Comment by Githook User [ 21/Dec/16 ]

Author:

{u'username': u'EshaMaharishi', u'name': u'Esha Maharishi', u'email': u'esha.maharishi@mongodb.com'}

Message: SERVER-27466 move transitionToPrimaryHangBeforeInitializingConfigDatabase to before taking the global exclusive lock
Branch: v3.4
https://github.com/mongodb/mongo/commit/615e58e86dc0afe6cd495023899092b875323acd

Comment by Githook User [ 21/Dec/16 ]

Author:

{u'username': u'EshaMaharishi', u'name': u'Esha Maharishi', u'email': u'esha.maharishi@mongodb.com'}

Message: SERVER-27466 move transitionToPrimaryHangBeforeInitializingConfigDatabase to before taking the global exclusive lock
Branch: master
https://github.com/mongodb/mongo/commit/6c4794728036f4a5e9169b895e2a9fb6c328812b

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