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

Improve handling of "Analytics collections in different partitions have different DCP states"

    XMLWordPrintable

Details

    • 0
    • Analytics Sprint 21, Analytics Sprint 22

    Description

      Currently we fail any rebalance once we encounter a dataset whose partitions do not have identical state. This should not be necessary:

      1. On a rebalance-in, we could simply skip any dataset(s) that we encounter this state. Once the states are in sync, the subsequent rebalance will rebalance the problematic dataset(s). This can be accomplished very quickly (unfortunately a bit late for 7.2.0).
      2. I think we could allow the mismatched datasets to be rebalanced, reverting all DCP state to the earliest copy. We can then catch up any out-of-sync dataset(s) post-rebalance.
         
        EDIT: will open another issue to consider #2 and other improvements- tracking #1 with this issue.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-56474
          # Subject Branch Project Status CR V

          Activity

            People

              Balakumaran.Gopal Balakumaran Gopal
              michael.blow Michael Blow
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty