-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Labels:
-
Fully Compatible
-
Sharding EMEA 2021-07-26, Sharding EMEA 2021-08-09, Sharding EMEA 2021-08-23, Sharding EMEA 2021-09-06
In order to rationalize the code that access the persistent cache managed by SSCCL, the dropChunksIfEpochChanged function can be removed and instead take advantage of the dropChunksAndDeleteCollectionsEntry function. The latter deletes both the collection entity and the chunks collection from the persistent cache, which will be then appropriately recreated later.
This comes fromĀ SERVER-34632's code review.