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

Investigate changes in PM-2782: Indicate the last operation in a transaction in a $changeStream event

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

      Original Downstream Change Summary

      This project will introduce new change stream event endOfTransaction that will guarantee that there will be no operations in the given transaction afterwards.

      It is possible for this event to be duplicated for multi-shard transactions.

      It is also possible that operations from a different shards will intertwine between the last operation of the transaction and the corresponding endOfTransaction event.

      Description of Linked Ticket

      Epic Summary

      Summary

      Introduce a new event type that will signal that no new operations will be reported for a transaction.

      Motivation

      Users who utilize transactions and also use change streams to keep another system up to date with changes in MongoDB prefer to apply operations from one transaction at once. Today there is no reliable way to identify the point in the change stream when all the events from a single transaction were reported.

      Documentation

      Product Description
      Scope Document
      Technical Design Document

      Docs Update

            Assignee:
            Unassigned Unassigned
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: