SERVER-138842ClosedFixed

Intern the shardIds inside the commitTransaction command/oplog entry

When building the metadata for a {{commitTransaction}} command, we currently repeat the shardId values verbatim in all sets, e.g. ShardIds are typically 20 bytes long on Atlas. Interning the shardId strings and only storing a positional index can reduce the storage and wire-transfer size, e.g. Investigate this interning as a potential performance improvement. As part of this effort, we should also investigate shortening the verbose field names inside the structure so that they become s

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-rc1026
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.