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

Investigate changes in SERVER-78269: Generate endOfTransaction change stream event for unprepared transactions

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

      Original Downstream Change Summary

      New change stream event: endOfTransaction.
      In this ticket we only added support for it for unprepared (single-shard) transactions.
      Full work on this event can be tracked via PM-2782

      Description of Linked Ticket

      When we see committed unprepared transaction in DocumentSourceChangeStreamUnwindTransaction, we can safely append no-op oplog entry about the end of this transaction to the stream.

      This no-op entry should be filtered according to the namespaces, affected by the transaction.

      This entry should be transformed into change stream event. 

      Event should only appear if showExpandedEvents is true

       

            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: