[SERVER-72287] Make transaction API wait for best effort abort if it hasn't been interrupted Created: 20/Dec/22  Updated: 29/Oct/23  Resolved: 30/Dec/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Bug Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-71649 Transaction API shouldn't block on an... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding NYC 2022-12-26, Sharding NYC 2023-01-09
Participants:
Linked BF Score: 35

 Description   

SERVER-71649 changed the transaction API to not block waiting for the best effort abort it runs after giving up on a transaction to better obey cancellation. This has created issues in our unit tests where transactions may be left open if executors are shut down before the scheduled abort has run. To avoid these issues and simplify the contract for using the API, it should wait for the best effort abort to complete if its caller hasn't been interrupted.



 Comments   
Comment by Githook User [ 30/Dec/22 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-72287 Make transaction API wait for best effort abort if it hasn't been interrupted
Branch: master
https://github.com/mongodb/mongo/commit/68dba9dd1da9005b863b4960ac2d1f87782456a6

Generated at Thu Feb 08 06:21:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.