[SERVER-28490] Check the state after acquiring the lock in bgsync Created: 24/Mar/17  Updated: 06/Dec/17  Resolved: 22/Apr/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.4.5, 3.5.7

Type: Bug Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Siyuan Zhou
Resolution: Done Votes: 0
Labels: bkp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-27499 Race condition in SyncSourceResolver ... Backlog
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.4
Sprint: Repl 2017-05-08
Participants:

 Description   

In bgsync, due to shutdown, we need to check the state after locking whenever it's going to change any state that the destruct won't clean up. This includes the construction of _syncSourceResolver, _oplogFetcher and _rollback.



 Comments   
Comment by Githook User [ 03/May/17 ]

Author:

{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}

Message: SERVER-28490 Check the state after acquiring the lock in bgsync.

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

Comment by Githook User [ 22/Apr/17 ]

Author:

{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}

Message: SERVER-28490 Check the state after acquiring the lock in bgsync.
Branch: master
https://github.com/mongodb/mongo/commit/b077e090642dbb50ea235e2b26af90399896eb04

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