SERVER-137375ClosedFixed

Add "allowEndOfTransaction" flag to applyOps oplog entry

Adds the "allowEndOfTransaction" boolean flag to the applyOps oplog entry. The field is optional and not set by default. Currently no code sets this flag. It will later be set conditionally on the final applyOps entry of replica set and single-shard transactions if the allowEndOfTransaction parameter is set at the time of the transaction commit. An equivalent will be added to the oplog entry of sharded transactions. Change streams can then use this to unambiguously determine the final event in a

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 streamsReplication
Labels
Tags and classification

No labels assigned.