SERVER-138293ClosedFixed

Make endOfTransaction metadata multiversion-safe

The `commitTransaction` command is defined in the IDL as strict, so older versions may not be able to understand the newly added `endOfTransactionScopes` field that the txn coordinator can send since SERVER-137904. In a mixed-version cluster (running 9.1/master for the transaction coordinator and 9.0 for a participant shard), it is possible that the receiving shard cannot parse the `commitTransaction` command request with the extra metadata sent by the coordinator. This situation is now auto-det

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.