SERVER-137614ClosedFixed

Add `showEndOfTransaction` change stream option

This change adds an `showEndOfTransaction` option to change streams. The option has values `off`, `whenAvailable` and `required`. Not setting the option is identical to `off`. The option value is only serialized and affects the query shape hash if it is set to `whenAvailable` or `required`. This keeps compatibility with older versions. The option can only be set if the feature flag `featureFlagChangeStreamEventOfTransactionEventSynthesis` is enabled, and if a v2 change stream reader can be us

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.