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

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 1.8.0, 1.8.1, 1.8.2
    • Fix Version/s: 1.8.3
    • Component/s: 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

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: