Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-546

Dead sockets returned from connection pool

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Critical
    • 2.4.4
    • 2.4.0
    • library
    • Security Level: Public
    • None

    Description

      Because of how the server (and possibly other intermediaries) work, a socket may be closed while it is idle without any protocol-level indication warning the client of this event.

      The end result is that sometimes (particularly with views), a cached socket is retrieved, and at the first I/O operation, the operation fails because the socket has been closed, which in turn gives an error back to the user.

      The library should attempt to check and see if the socket is closed first before returning it back to lcbcore.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avsej Sergey Avseyev
            mnunberg Mark Nunberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty