SERVER-138381ClosedFixed

Synthesize endOfTransaction marker from applyOps

For replica set and single shard transactions, gate the synthesis of the {{endOfTransaction}} change events on the {{allowEndOfTransaction}} flag in the final applyOps oplog entry if the change stream is opened with the {{showEndOfTransaction}} option set to {{whenAvailable}} or {{required}} and both the server parameter {{allowEndOfTransaction}} and the feature flag {{featureFlagEndOfTransactionEventSynthesis}} are enabled. The legacy path for emitting {{endOfTransaction}} events from the fina

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.