Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-3880

Add create-delete-create of the exact doc scenario consideration

    XMLWordPrintable

Details

    Description

      Please add consideration for delete-create-delete of the exact same document and its effect on the syncronization of an active lite device.

      for example:
      1. create doc1

      {"name""roi"}

      2. delete doc1
      3. recreate doc1:

      {"name":"roi"}

      if you do those steps, the recreated document wouldn't appear in the lite device. you must of some change in order for the document to appear.
      when it's coming from UI or SDK.

      for example:
      1. create doc1

      {"name""roi", "timestamp":1533108903}

      2. delete doc1
      3. recreate doc1:

      {"name""roi", "timestamp":1533108905}

      would work as you have a tiny bit of change to the checksum of the document.

      Attachments

        Issue Links

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

          Activity

            People

              Ian.bridge Ian Bridge
              roi.katz Roi Katz
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty