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

Reachability undermines offline reconnect logic

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.7.0
    • 2.7.0
    • iOS
    • Security Level: Public
    • None
    • 3

    Description

      When working with the troublemaker proxy I notice that the following occurs when running a continuous push replication in the face of failure:

      1. The failure happens, and in c4StatusChanged the replicator goes to offline.
      2. At the end of handleError the reachability observer is started
      3. The reachability observer immediately sends out a "network reachable" message as its initial message in the case that the network status is known
      4. This triggers a callback to reachabilityChanged and since reachable is true and the replicator is offline, this causes an immediate retry

      Attachments

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

        Activity

          People

            Jayahari.Vavachan Jay Vavachan
            jimb Jim Borden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty