Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-61211

[BP 7.2.5] - XDCR transaction processing does not include DELETION/EXPIRATION

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.2.5
    • 7.2.5
    • XDCR
    • Untriaged
    • 0
    • Unknown

    Description

      XDCR assumes that deletion/expirations do not have xattrs and do not need xattr processing:

      https://github.com/couchbase/goxdcr/blob/122714ca9e3ead4bd43f4989631e479ea5f46d19/base/filter/filterImpl.go#L255

      This is an incorrect assumption. Tombstones can have system xattrs (those with _ prefix). Inserts inside a transaction can create tombstones with transaction xattrs.

      https://docs.google.com/document/d/1lRC-0VEk4jTPJbY9tN_jHTiqzCbj7Qpt4JdYufwEMwU/edit#heading=h.m48lmw9ahldh 

      XDCR should process UPR_DELETION for transactions just like any other mutations.

      Attachments

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

        Activity

          People

            ayush.nayyar Ayush Nayyar
            sudeep.jathar Sudeep Jathar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty