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

Add a way to flush all connections in the connection pools

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Networking, Sharding
    • None

      For debugging issues related to the connection pool, it would often be useful to be able to flush all those connections, similar to the way we flush config data currently. A command would make it clear whether the network is a problem (breaking connections over time) versus a problem storing stale connections in a mongo process.

      Additionally, it would be helpful to be able to flush replica set information.

        1. pooling_no_reset.js
          1 kB
          Greg Studer

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            greg_10gen Greg Studer
            Votes:
            6 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: