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

Pool#checkout should be cleaning up unused sockets before attempting to assign a new one

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.8.3
    • Affects Version/s: 1.8.0, 1.8.1, 1.8.2
    • Component/s: None

      The recent refactor of our thread pool neglected to preserve logic that cleaned up thread local associations to unused sockets after the threads were done and gone.

      This needs to be restored to avoid having connection errors happening even when idle sockets are available.

      This issue stems from a refactor that happened here

            Assignee:
            brandon.black@10gen.com Brandon Black
            Reporter:
            brandon.black@10gen.com Brandon Black
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: