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

Connection Pool ASIO must indicate use separately from non-error

    • Fully Compatible
    • ALL
    • Platforms 17 (07/15/16)

      Connection Pool ASIO connects indications of success with indications of use, which causes the underlying connection pool to assume a connection is fresher than it may actually be (we said we did IO, but actually we just haven't caused an error).

      Because the connection pool it self checks connections out, marks them ok and then checks them back in to trigger a refresh, this causes connections to always seem fresh, never be heartbeated and never check against minConnections for dropping. This will likely cause connections to stabilize at some high water mark, rather than dropping down to minConnections.

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            1 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: