-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
v5.0
-
Sharding EMEA 2021-06-14, Sharding EMEA 2021-06-28
This is the second step towards getting rid of epochs/timestamps on config.chunks.
There are some functions that rely on the presence of epochs/timestamps on config.chunks to indentify a collection. This is fine for 4.4 but not for 5.0 since we plan to remove them. In 5.0 we should use the UUID instead (present on config.collections and config.chunks (since 5.0)).
Below you can find a list of functions that should be addressed:
- ShardingCatalogManager::ensureChunkVersionIsGreaterThan
- ShardingCatalogManager::clearJumboFlag
- ShardingCatalogManager::commitChunkSplit
- ShardingCatalogManager::commitChunkMerge
- ShardingCatalogManager::commitChunkMigration
- Catalog cache refreshes compare the epoch of config.collections and config.chunks to identify inconsistencies.
- is depended on by
-
SERVER-57060 Rename of a sharded collection must bump the collection version
- Closed