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

Consider v2 attachments on conflicting revisions when removing

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.0
    • None
    • SyncGateway
    • Security Level: Public
    • None

    Description

      Currently V2 attachment removal only considers attachments on the previous active revision and the incoming revision.  This covers CBL 2.x cases (no conflicts).  

      When running with allow_conflicts=true, SG should be checking for v2 attachments on all non-tombstoned leaf revisions.

      To do this efficiently (i.e. avoid retrieving and unmarshalling all non-tombstoned leaf revisions on every update), we should consider adding a flag to non-active leaf revisions indicating whether they include v2 attachments.

      Attachments

        Issue Links

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

          Activity

            People

              jacques.rascagneres Jacques Rascagneres
              adamf Adam Fraser
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty