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

Make connPoolStats useful

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.13, 3.3.15
    • Affects Version/s: None
    • Component/s: Networking
    • Fully Compatible
    • v3.2
    • Platforms 18 (08/05/16), Platforms 2016-08-26, Platforms 2016-09-19, Platforms 2016-10-10

      The connPoolStats command is currently broken for a variety of reasons:

      • The connection pool stats type has a broken add stats for host command (it only records stats for a host the first time the function is called, rather than accumulating)
      • The nia connection pool doesn't provide any accounting for connections in setup or refreshing
      • We can't actually see how many connections any particular pool has.

      In order to better diagnose the more complex connection pooling model we're currently dealing with, we should fix the bugs in connPoolStats and consider providing stat breakdowns by pool and host.

            Assignee:
            matt.cotter Matt Cotter
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: