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

InternalSessionsPool is not reusing internal sessions for non-retryable writes

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

      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@mongodb.com Jack Mulrow
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: