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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • 1.8.0, 1.8.1, 1.8.2
    • 1.8.3
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: