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

Remove CatalogCache::getDatabaseWithRefresh()

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • CAR Team 2024-10-28

      This function force a refresh of the catalog cache causing all other threads that are concurrently accessing the cache to wait on the forced refresh completion.

      Most of the time this function can be substitute with a more explicit and direct lookup of the catalog through ShardingCatalogClient::getDatabase()

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: