Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-1339

Creating mobile tombstone for existing CBS tombstone causes loop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 3.0
    • 2.8.1
    • SyncGateway
    • Security Level: Public
    • None
    • 3

    Description

      SG 2.8.1 includes CBG-1200 to avoid creating empty document bodies when creating a mobile tombstone for a previously non-existent document.  

      If the updated handling is applied to an existing, non-purged Couchbase Server tombstone that does not have a mobile xattr associated with it, Sync Gateway fails to use the cas from the existing tombstone, and so hits a cas error when writing the mobile tombstone.

      The net result is Sync Gateway going into an infinite loop attempting to retry the CAS failure.

      Attachments

        Issue Links

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

          Activity

            People

              The One The One
              adamf Adam Fraser
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty