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

return connection back to the pool in getUnshardedCollInfo

    XMLWordPrintable

    Details

    • Operating System:
      ALL
    • Backport Requested:
      v5.0, v4.4, v4.2, v4.0
    • Sprint:
      Service Arch 2021-08-09
    • Linked BF Score:
      84
    • Story Points:
      2

      Description

      In "getUnshardedCollInfo", the newly created ScopedDbConnection is not returned to the globalConnPool.
      This may lead to "connection leak".

      Acceptance criteria: Confirm whether this a bug and if so, make sure the connection doesn't leak. 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tyler.seip Tyler Seip
              Reporter:
              pengzhenyi pengzhenyi
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: