[SERVER-31290] Race in SessionCatalogMigrationDestination can cause it to miss some ops Created: 27/Sep/17 Updated: 30/Oct/23 Resolved: 29/Sep/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Randolph Tan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Sharding 2017-10-02 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
scenario: 1. Dest shard depleted session oplog buffer from source. Goes to ready to commit state. |
| Comments |
| Comment by Githook User [ 28/Sep/17 ] |
|
Author: {'email': 'randolph@10gen.com', 'name': 'Randolph Tan', 'username': 'renctan'}Message: This reverts commit f24fbb0011c6ded9101f08574e7cd07e63690a9b. |
| Comment by Githook User [ 28/Sep/17 ] |
|
Author: {'email': 'ian.whalen@gmail.com', 'name': 'Ian Whalen', 'username': 'IanWhalen'}Message: Revert " This reverts commit 9827b045a3fb0ae734b7b689d5d0e13b160986af. |
| Comment by Githook User [ 28/Sep/17 ] |
|
Author: {'email': 'randolph@10gen.com', 'name': 'Randolph Tan', 'username': 'renctan'}Message: Make sure to call _getNextSessionMods at least once after transitioning to "committing" state. Also stop sending oplog for new writes that doesn't is not part of any transaction. |