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

Context cancelation before transaction commit does not abort

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.11.0, 1.10.4
    • Affects Version/s: 1.10.2
    • Component/s: None
    • None
    • Not Needed

      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.

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

              Created:
              Updated:
              Resolved: