Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1727

Unscope connection pools from clusters

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0.rc0
    • Affects Version/s: None
    • Component/s: Connections
    • Labels:
      None

      Connection pools are currently scoped to clusters, and cached per server address. This means if a cluster connects to a server and then removes the server and adds it again, it is possible for connections to the original server to be used with the new server object. This is undesirable.

      Prior to pools being scoped to clusters they were globally cached for a server address which was even more problematic.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: