Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-72287

Make transaction API wait for best effort abort if it hasn't been interrupted

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Sharding NYC 2022-12-26, Sharding NYC 2023-01-09
    • 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.

      Attachments

        Activity

          People

            jack.mulrow@mongodb.com Jack Mulrow
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: