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

Decrement egress counter when scoped connection not returned to the pool

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2, v4.0, v3.6, v3.4
    • Sprint:
      Service Arch 2019-03-11, Service Arch 2019-03-25, Service Arch 2019-04-08, Service Arch 2019-06-17
    • Case:

      Description

      this code calls kill() in certain cases and done() in others. Only done() decrements the _checkedOut value.

      The result is that openConnections() rises inaccurately over time.

      The inaccurate reporting was observed on 3.6.7 but code appears unchanged since. It's understood that PM-1121 may eventually obviate this pool but it may not be a difficult fix in the interim.

        Attachments

          Activity

            People

            Assignee:
            rahul.sundararaman Rahul Sundararaman (Inactive)
            Reporter:
            eric.sedor Eric Sedor
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: