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

Make resetCheckpoint an argument to Replicator.start

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.8.0
    • Component/s: Java-Android
    • Security Level: Public
    • Labels:
    • Story Points:
      1

      Description

      Currently the resetCheckpoint flag is an odd property that can only be set at certain times, and that resets itself in a weird way.

      It should be moved to be an argument to the start method.

      This is an API change and cannot be implemented until v3.0

        Attachments

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

          Activity

          Hide
          jimb Jim Borden added a comment -

          API changes should get an API ticket, so that other platforms can be aware too

          Show
          jimb Jim Borden added a comment - API changes should get an API ticket, so that other platforms can be aware too
          Hide
          James Flather James Flather added a comment -

          A random passing comment: another possible move of this might be to the replicator config...

          Show
          James Flather James Flather added a comment - A random passing comment: another possible move of this might be to the replicator config...
          Hide
          blake.meike Blake Meike added a comment -

          That has been discussed. It seems like the wrong place to put it, because then when the replicator stops and restarts, it is probably going to reset the checkpoint again.

          Show
          blake.meike Blake Meike added a comment - That has been discussed. It seems like the wrong place to put it, because then when the replicator stops and restarts, it is probably going to reset the checkpoint again.
          Hide
          blake.meike Blake Meike added a comment -

          Replicator.resetCheckpoint  has been deprecated.

          Replicator.start() has been temporarily deprecated. Please use Replicator.start(false)

          Show
          blake.meike Blake Meike added a comment - Replicator.resetCheckpoint  has been deprecated. Replicator.start() has been temporarily deprecated. Please use Replicator.start(false)
          Hide
          blake.meike Blake Meike added a comment -

          Add "deprecated" label

          Show
          blake.meike Blake Meike added a comment - Add "deprecated" label

            People

            Assignee:
            The Lite The Lite
            Reporter:
            blake.meike Blake Meike
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty