SERVER-137904ClosedFixed

Make txn coordinator compute and send endOfTransaction metadata

Make the transaction coordinator compute the necessary metadata for "endOfTransaction", persist it in the coordinator document for the transaction, and send it to the participant shards as part of the {{commitTransaction}} command. The participant shards currently do not use the additional metadata, but a follow-up PR will make them write the data to their oplog as part of the existing commitTransaction oplog entry. Computing and sending the metadata is gated on the feature flag for SPM-4826

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

No labels assigned.