-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
QE 2026-12-07
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Existing endOfTransaction (EOT) change stream tests only exercise insert and createIndexes inside a user transaction. Update, replace, delete, findAndModify and bulkWrite are covered only incidentally: through the Queryable Encryption (QE) internal transactions, or in tests that filter EOT events out or only check documentKey. Explicit create in a transaction is not covered.
Scope
Assert, with EOT enabled, that events emitted by each command inside a transaction carry lsid and txnNumber, and that exactly one endOfTransaction event closes the transaction:
- DML: insert, update, replace, delete, findAndModify (update, remove, upsert) and bulkWrite (mixed ops, multiple collections).
- DDL: create (replica set only, since it is disallowed in sharded transactions) and createIndexes.
- Collection and whole-database streams.
- Sharded cross-shard transactions, including bulkWrite through mongos.
- Optionally, prepared transactions.