InternalSessionsPool is not reusing internal sessions for non-retryable writes

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v6.0
    • Sharding NYC 2022-06-13
    • 35
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The InternalSessionsPool appears to have a bug that prevents the internal sessions for non-retryable writes from being reused. It looks like the key stored in _childSessions the map is (id, uid, txnUUID) but the key used for looking up sessions is (id,uid). The unit test for this part of the code is also incorrect

              Assignee:
              Jack Mulrow
              Reporter:
              Cheahuychou Mao
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: