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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.9
    • 3.1.0
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 136
    • 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

          Activity

            People

              gregory.newmansmith Gregory Newman-Smith
              tor.colvin Tor Colvin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty