[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: |
|
||||||||||||
| 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: (cherry picked from commit b077e090642dbb50ea235e2b26af90399896eb04) |
| 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: |