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

Unify behavior of deleting an already deleted doc

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • Sisyphus
    • 3.0
    • API
    • Security Level: Public
    • None
    • 0

    Description

      There are some inconsistent behaviors b/w different APIs and b/w platforms.

      CBL-C:
        - Use same instance, creates a new deleted revision.
        - [Conflict] Use different instance, creates a new deleted revision if lastWriteWins is selected.
        - [Conflict] Use different instance, fails if failsOnConflicts is selected.

      Other Platforms:
        - Use same instance, create a new revision.
        - [Conflict] Use different instance, loads deleted doc and replace current dod internally if lastWriteWins is selected.
        - [Conflict] Use different instance, fails if failsOnConflicts is selected.

      Considering that when using the same instance, a new revision is created, to be consistent, when using lastWriteWins, the new revision should be created as well.

      Attachments

        Issue Links

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

          Activity

            People

              The Lite The Lite
              pasin Pasin Suriyentrakorn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty