-
Type: Investigation
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
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
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