Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-3036

[3.1.1 backport] Replicator will not reconnect when max_back_off != 0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.1.1
    • 3.1.0
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 127
    • 1

    Description

      When TotalReconnectTimeout is set to 0, reconnect for a replicator is disabled.

      We set this value to a non zero value when MaxBackOff is 0 as when we have a zero value for MaxbackOff we want to retry ~MaxReconnectInterval. But when we set the MaxBackOff value we want to try indefinitely to reconnect with the maximumn back of time supplied.

       

      Our reconnect loops are configured to check if the TotalReconnectTimeout is 0 or not and will skip reconnect loops if it has a 0 value. This means as it stands if we set a MaxBackOff value in replicator config the reconnect loop will not start this will not attempt to reconnect.

       

      Attachments

        Issue Links

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

          Activity

            People

              gregory.newmansmith Gregory Newman-Smith
              adamf Adam Fraser
              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