[SERVER-85232] Set `InMultiDocumentTransaction` flag when recovering committed distributed transactions Created: 16/Jan/24 Updated: 23/Jan/24 Resolved: 23/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Pierlauro Sciarelli | Assignee: | Pierlauro Sciarelli |
| 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 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 155 | ||||||||||||
| Description |
|
When applying the oplog entries of a committed prepared transaction on startup/step-up, the operation context must be flagged as in multi document transaction. Not doing so results in this if statement getting evaluated as false with the consequence of acquiring the collection lock in the wrong mode. |
| Comments |
| Comment by Githook User [ 23/Jan/24 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: GitOrigin-RevId: 1b434ce3d19f653d7efc2d65f2ae0c4c96bdf198 |