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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Sharding NYC 2022-12-26, Sharding NYC 2023-01-09
    • 35

      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.

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

              Created:
              Updated:
              Resolved: