Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-278

Client doesn't reconnect if socket timeout or other netty error is triggered

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.2.4
    • 1.2.1, 1.2.2, 1.2.3
    • Core
    • None

    Description

      When a node fails, the channel is marked as inactive and the endpoint marks itself for reconnection once. If said reconnection fails, the generic handling is to schedule a reconnection retry.

      During this connection phase however, a few netty errors are caught which bypasses the scheduling of a retry (for the generic error case). Since 1.2.1, this includes the handling of a socket connection timeout.

      Effectively, the endpoint never recovers from such a situation where the node is unreachable, because Netty's socket timeout stops it from retrying the connection.

      Attachments

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

        Activity

          People

            simonbasle Simon Baslé (Inactive)
            simonbasle Simon Baslé (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty