SERVER-138295ClosedFixed

Write endOfTransaction metadata into the oplog

Follow-up change to SERVER-137904, which made the txn coordinator send end-of-transaction metadata with the `commitTransaction` command. This change writes the metadata into the oplog for persistence.

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 streamsDistributed Query ExecutionQuery Execution
Labels
Tags and classification

No labels assigned.