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

Add a flag to non-active leaf revisions indicating whether they include v2 attachments

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.0
    • 3.0
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 81, CBG Sprint 82
    • 3

    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).  

      However, SG should be checking for v2 attachments on all non-tombstoned leaf revisions when running in allowed conflict mode. It requires retrieving and unmarshalling all non-tombstoned leaf revisions on every update. This approach is not efficient and 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

              sarath.kumarsivan Sarath Kumar Sivan (Inactive)
              sarath.kumarsivan Sarath Kumar Sivan (Inactive)
              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