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

Reduce access to SSCCL's persisted collection metadata

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Sharding EMEA 2021-07-26, Sharding EMEA 2021-08-09, Sharding EMEA 2021-08-23

      The dropChunksAndDeleteCollectionsEntry function of the the Shard Server Catalog Cache Loader (SSCCL) module requires some information from the collection to drop the related chunks (i.e., UUID and supporting long name status), so it calls the readShardCollectionsEntry function to read the collection entry from disk.

      The idea is to pass this information to the dropChunksAndDeleteCollectionsEntry function as arguments to avoid further and expensive access to the disk.

      This comes from SERVER-34632's code review.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: