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

XDCR: Add support for inverting the filter

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 6.5.0
    • None
    • XDCR

    Description

      A couple of users have attempted to use negative lookahead in the filter regex to replicate all documents except those that match their criteria. This doesn't work, because Go's regex engine does not support negative lookahead.

      We could support this use case by adding an "Invert match" checkbox below the filter. When this checkbox is enabled, XDCR would evaluate the filter, then negate the result (similar to how grep handles inverted matching).

      Attachments

        Issue Links

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

          Activity

            People

              chaitra.ramarao Chaitra Ramarao (Inactive)
              david.nault David Nault
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty