Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-2244

Multiple replications to the same destination cluster and bucket are not allowed, even if they have different filter expressions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • spock, 4.0, 4.1, 4.5, 4.6
    • xdcr
    • None

    Description

      In the "Configure XDCR filtering" section, there is the following statement:

      "The filtering expression becomes a part of the key for replication. Therefore, administrators can create multiple replications to the same destination cluster and bucket as long as the filtering expression is different."

      This statement came from the original PRD. The requirement and design was changed later, though. In the actual xdcr implementation, the filtering expression is not a part of the key for replication, and multiple replications to the same destination cluster and bucket are not allowed, even if they have different filtering expressions.

      The rationale for changing the design is that if there is a need to replicate to the same destination cluster and bucket with different filtering expressions, it can be achieved by creating a single replication with the filter expression being multiple expressions "or"ed together, e.g., filterExpression0|filterExpression1.

      The following sample expression would match both "unitedairline" and "marriothotel":

      airline|hotel

      We should

      1. remove this statement from the doc.
      2. provide suggestions like the above.

      Attachments

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

        Activity

          People

            shilpa.lele Shilpa Lele (Inactive)
            yu Yu Sui (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty