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

XDCR: ep_engine should be able to process a new_checkpoint command and notify this event to the external components.


    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta-2
    • Fix Version/s: 2.0
    • Component/s: couchbase-bucket, XDCR
    • Security Level: Public
    • Labels:


      In effort to fix MB-6619, we change the ensure_full_commit from actively polling ep_engine stats during checkpointing, to event notification manner that it only gets notified when the checkpoint id changes. Today mc_connection:do_notify_vbucket_update() push event to event manager whenever the vbstate changes, which covers much more than checkpoint ID change. To avoid overhead to parse a large amount of unwanted msg from event manager, ep_engine need to provides a boolean flag to indicate that in this event, the checkpoint ID changes or not. Then we can filter out all other events involving no checkpoint change.

      This may involves a protocol change between ep_engine and ns_server, commits on both sides need to be merged at the same time.

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


        No work has yet been logged on this issue.


          • Assignee:
            chiyoung Chiyoung Seo
            junyi Junyi Xie (Inactive)
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created:

              Gerrit Reviews

              There are no open Gerrit changes