Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3143

Investigate changes in PM-1950: Improved change stream event visibility for C2C Replication

    • Type: Icon: Investigation Investigation
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Needed

      Original Downstream Change Summary

      1. $changeStream stage accepts new boolean parameters: showExpandedEvents, showSystemEvents and showRawUpdateDescription. The latter two flags are internal and not documented.
      2. New types of events are reported when requested.
      3. Some of the existing events are reported in more cases and have additional fields.
      4. New internal aggregation stage is added to apply updates described in the oplog format
      5. Changes to the update description

      Please see Syntax doc for more details.

      Description of Linked Ticket

      Epic Summary


      Expose additional change events and improve existing change events to enable cluster to cluster replication


      As part of the proposed architecture for Cluster to Cluster (C2C) Replication, changes are replicated using change streams instead of oplog tailing and applyOps. However, change stream currently doesn't expose enough information (e.g. DDL operations, updateDescription) for change events to be used for replication. This project is to improve change stream event visibility to enable change-stream-based C2C replication.

      Cast of Characters

      • Product Owner: Katya Kamenieva
      • Project Lead: Arun Banala
      • Program Manager: Ana Meza
      • Drivers Contact:


      Scope Document
      Syntax Document
      Technical Design Document
      Product Description

      Project Dashboard

            Unassigned Unassigned
            backlog-server-pm Backlog - Core Eng Program Management Team
            0 Vote for this issue
            2 Start watching this issue