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

[BP 7.2.6] - XDCR - Fix to ensure that tombstones are replicated when FilterBinary is turned on

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      If Filter Binary is turned on, deletes are not replicated.

       

      if filter.ShouldSkipBinaryDocs() && !dataTypeIsJson {        
        // Skip binary document             
        return false, nil, "", totalFailedDpCnt, FilteredOnOthers
      }  

      For UPR_DELETION the JsonBit in the datatype will be set to zero.
      As a result the above if condition is evaluated to true and the document will be filtered and hence not replicated.

      In summary, GoXDCR treats tombstones as binary docs.

       

      Attachments

        Issue Links

          Activity

            People

              ayush.nayyar Ayush Nayyar
              darshan.na Darshan NA
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty