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

DCP: Cursor Ordering

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Critical
    • None
    • None
    • couchbase-bucket

    Description

      From a problem report, we see that 2i DCP cursor can run ahead of replication cursor (intra-cluster). This causes 2i to rollback. One way to avoid rollback is to run 2i cursor behind the fastest replication cursor. For example, if there are 2 replication cursors, as long as mutation is replicated to one of them, allow 2i cursor to move. This will avoid rollback unless 2 copies fail (master + 1 replica).

      This feature also depends on ns-server picking the most recent replica as the new master. If ns-server cannot pick the most recent replica as new master, then we can let the 2i cursors run behind all the replication cursors.

      Attachments

        Issue Links

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

          Activity

            People

              owend Daniel Owen
              jliang John Liang
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty