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

Return error when receiving deltas for deltaSrc revisions which are tombstoned

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.8.0
    • 2.5.0
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 26, CBG Sprint 27, CBG Sprint 28, CBG Sprint 29, CBG Sprint 39
    • 3

    Description

      Sync Gateway will attempt to receive and patch a delta for a document which has a parent/deltaSrc revision that has been tombstoned.

      This is a situation that SG can't deal with, as the parent body is not available to Sync Gateway when it is tombstoned when running with xattrs.

       

      A mitigation for this went into CBL for Cobalt, but SG should still be defensive about this and return an error for a client that pushes a delta for a tombstone. This may need some co-ordination with the Lite team to make sure the error is handled correctly if this situation ever arises on their side.

      Attachments

        Issue Links

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

          Activity

            People

              ben.brooks Ben Brooks
              ben.brooks Ben Brooks
              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