SERVER-127646Backlog

Document and enforce invariants of the vector clock

During the code review of SERVER-126262, we realized that we don't have documentation or enforcement of the vector clock's invariants that are relied upon for correctness by other components. One of these invariants is that a bumped topology time cannot be gossiped out without a bumped config time, since the config time is used by the shard registry as the afterClusterTime to read the new entries in config.shards. Another invariant documented sporadically in the code is that the operationT

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.