The ChunkVersion consists of a "most-significant" epoch/timestamp part which represents the generation of the collection and a subordinate major/minor parts. There are a lot of places in the code which either use epoch/timestamp separately or a half-initialised ChunkVersion in order to ensure that two collections are the same. This logic should be extracted into a separate class called CollectionGeneration instead.
- has to be done before
-
SERVER-65530 Get rid of all legacy ChunkVersion parsing/serialisation formats
- Closed