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

Rename CatalogCache::invalidateShardOrEntireCollectionEntryForShardedCollection function

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Catalog and Routing

    Description

      In SERVER-78495 we removed the possibility of marking a specific shard as stale, so the name of this function should be changed now to something more meaningful.

      Additionally, we could remove the ShardId from function parameters since it is not used anymore.

      When choosing the new name for this function we should take into account that this function:

      • Is not shard specific anymore.
      • Does not really invalidate the cache entry, just advances the “known” time in the underlying ReadThroughCache, so all the subsequent accesses to the cached entry that require casual consistency will trigger a cache entry refresh.
      • It does not act only on sharded collections

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: