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

XDCR - Deletes are not replicated if Filter Binary is turned on

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Morpheus
    • 7.6.0, 7.2.1, 7.1.5, 7.2.4, 7.2.2, 7.2.3, 7.2.5, 7.6.1
    • XDCR
    • 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:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty