Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-1246

Add options to customize heartbeat and max retry interval on Replicator

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Critical
    • 3.0
    • 3.0
    • API
    • Security Level: Public
    • None
    • Pasin 31, Pasin 32, Pasin 33
    • 5

    Description

      While testing P2P replication in various scenarios including when the other peers were gone without telling (half close connection), I think it's a good idea to allow users to customize the followings so that the replicators can be more active or aggressive when detecting the errors and retry if they want to.

      • Heartbeat Interval : The interval to send the heartbeat to detect whether the peer is still alive. Currently the default is 5 mins.
      • Max Retry Interval : The delay between retry. The delay increases exponentially such as 2, 4, 8, 16... seconds. Currently the max delay is 10 mins.

      Attachments

        Issue Links

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

          Activity

            People

              pasin Pasin Suriyentrakorn
              pasin Pasin Suriyentrakorn
              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