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

delta sync on top of a deletion caused data discrepancy between SG and CBL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0, 2.5.2, 2.5.0, 2.5.3
    • Fix Version/s: 2.6.0, 2.5.3
    • Component/s: LiteCore
    • Security Level: Public

      Description

      NOTE: Conflict Resolver was not the cause of this issue. 

      Steps to reproduce:
      1. Create docs in CBL.
      2. Replicate docs to SG with push_pull and continuous False
      3. Wait until replication is done and stop replication
      4. Update docs in SGW and delete docs in CBL in parallel (multithreading)

         or delete docs in SGW and update docs in CBL in parallel(multithreading)
      5. Start the replication with same configuration as step 2
       
      Expected :
      6. Verify docs get deleted in CBL/SGW
       
      Actual:
      Docs  still exists in CBL/SGW
       
      Logs :
      log_1560910929.93239.zip
       
      Tested with no-conflicts enabled/disabled and I see same issue.

        Attachments

          Issue Links

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

            Activity

            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-lite-cblite-2.6.0-113 contains couchbase-lite-core commit 3a0327e with commit message:
            CBL-110 Don't send delta on top of a deletion

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-lite-cblite-2.6.0-113 contains couchbase-lite-core commit 3a0327e with commit message: CBL-110 Don't send delta on top of a deletion
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-lite-net-2.7.0-12 contains couchbase-lite-core commit 3a0327e with commit message:
            CBL-110 Don't send delta on top of a deletion

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-lite-net-2.7.0-12 contains couchbase-lite-core commit 3a0327e with commit message: CBL-110 Don't send delta on top of a deletion
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-lite-android-2.5.3-9 contains couchbase-lite-core commit 27dac84 with commit message:
            CBL-110 Don't send delta on top of a deletion

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-lite-android-2.5.3-9 contains couchbase-lite-core commit 27dac84 with commit message: CBL-110 Don't send delta on top of a deletion
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-lite-ios-2.6.0-140 contains couchbase-lite-core commit 2aec075 with commit message:
            CBL-110 Don't send delta on top of a deletion

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-lite-ios-2.6.0-140 contains couchbase-lite-core commit 2aec075 with commit message: CBL-110 Don't send delta on top of a deletion
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-lite-ios-2.7.0-19 contains couchbase-lite-core commit 3a0327e with commit message:
            CBL-110 Don't send delta on top of a deletion

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-lite-ios-2.7.0-19 contains couchbase-lite-core commit 3a0327e with commit message: CBL-110 Don't send delta on top of a deletion

              People

              • Assignee:
                sridevi.saragadam Sridevi Saragadam
                Reporter:
                sridevi.saragadam Sridevi Saragadam
              • 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

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.