Reduce access to SSCCL's persisted collection metadata

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: 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
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: