Refactor SSCCL's functions purging cached collection metadata

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding EMEA 2021-07-26, Sharding EMEA 2021-08-09, Sharding EMEA 2021-08-23, Sharding EMEA 2021-09-06
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Antonio Fuschetto
            Reporter:
            Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: