[SERVER-45650] Do not std::terminate() if _commitStorageTransaction throws for unprepared transactions Created: 17/Jan/20 Updated: 29/Oct/23 Resolved: 23/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.3 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Maria van Keulen | Assignee: | Maria van Keulen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Execution Team 2020-01-27 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 9 | ||||||||
| Description |
|
Presently, _commitStorageTransaction does not allow any exceptions to be thrown. This restriction should be able to be lifted for unprepared transactions. logOplogEntriesForTransaction should be a transactional operation, so the inner WriteUnitOfWork and writeConflictRetry should not be necessary, and an invariant should be added that the operation has a parent WriteUnitOfWork. |
| Comments |
| Comment by Githook User [ 23/Jan/20 ] |
|
Author: {'username': 'mvankeulen94', 'name': 'Maria van Keulen', 'email': 'maria.vankeulen@mongodb.com'}Message: |