Make DBClientReplicaSet draw connections from a pool

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.3.1
    • Component/s: Internal Client
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      DBClientReplicaSet currently manages it's own connections to the replica set members. And because of this, the connections used by each DBClientRS are visible, making it hard for other objects to reuse the same connections when they are idle, and makes it hard for mongos to take account of all the outgoing connections. This setup also causes the DBClientRS to create and destroy more connections more than it should if it were using a connection pool.

            Assignee:
            Unassigned
            Reporter:
            Randolph Tan
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: