Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2565

Context cancelation before transaction commit does not abort

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.11.0, 1.10.4
    • 1.10.2
    • None
    • None
    • Not Needed

    Description

      The title of this ticket is my best guess at what's happening in the following situation . (This came from this slack conversation). See the attached test; occasionally, the test will loop continuously in the second transaction as the first transaction has not properly aborted its identical write server-side. I believe this is because we do not run AbortTransaction correctly when CommitTransaction encounters a context cancelation, but I'm not exactly sure. This requires further investigation and even if the aforementioned theory is correct, we need a more consistent regression test.

      Attachments

        Activity

          People

            benji.rewis@mongodb.com Benji Rewis (Inactive)
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: