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
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0, 4.1, spock, 4.5, 4.6
    • None
    • 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

          yu Yu Sui (Inactive) created issue -
          yu Yu Sui (Inactive) made changes -
          Field Original Value New Value
          Affects Version/s spock [ 13320 ]
          shilpa.lele Shilpa Lele (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          shilpa.lele Shilpa Lele (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          somesh.patel Somesh Patel [X] (Inactive) made changes -
          Workflow DOC Workflow [ 76848 ] Original DOC Workflow [ 98312 ]

          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