SERVER-137816ClosedFixed

Write `allowEndOfTransaction` flag into applyOps

This change writes an {{allowEndOfTransaction}} flag into the final applyOps oplog entry of replica set transactions if the server parameter {{allowEndOfTransactions}} is enabled. This allows change streams to unambiguously determine the final applyOps entry in a non-sharded transaction _and_ if the parameter was enabled at commit time. Sharded transaction oplog augmentation will follow in a separate commit. This work is part of SPM-4826.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue
Change streams
Labels
Tags and classification

No labels assigned.