SERVER-79871ClosedFixed

Simplify OperationId

[OperationId|https://github.com/mongodb/mongo/blob/master/src/mongo/db/operation_id.h] looks much more complex than necessary, it could be an atomic 64 integer instead. As far as I can tell we only require uniqueness, we never check the registry outside of testing code.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
7.3.0-rc0
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
perf-8.0perf-tigerperf-tiger-handoffperf-tiger-project-candidatesperf-tiger-q4perf-tiger-triaged