[SERVER-55380] Out of order oplog application for state docs that create/delete MTAB Created: 19/Mar/21 Updated: 29/Oct/23 Resolved: 21/Apr/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0-rc1, 5.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Lingzhi Deng | Assignee: | Jason Chan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | pm-1791_non-cloud-blocking, pm-1791_other_required | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Backport Requested: |
v4.9
|
||||||||||||||||||||
| Sprint: | Repl 2021-04-05, Repl 2021-04-19, Repl 2021-05-03 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 154 | ||||||||||||||||||||
| Description |
|
In secondary oplog application, state doc writes could be done in parallel. So if we have both a delete and an insert of state docs of same tenantId in the same batch, the insert could happen first which would create a mtab before the delete is applied to remove the conflicting state doc. |
| Comments |
| Comment by Githook User [ 23/Apr/21 ] |
|
Author: {'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}Message: (cherry picked from commit d45413a73b86ccedf2e6748e52c5bb95f9e1b5cb) |
| Comment by Githook User [ 21/Apr/21 ] |
|
Author: {'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}Message: |