Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-58362

Refactor SSCCL's functions purging cached collection metadata

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

            antonio.fuschetto@mongodb.com Antonio Fuschetto
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: