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

Avoid refreshing database cache under DDL lock upon DB creation

    XMLWordPrintableJSON

Details

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

    Description

      In shardingCatalogManager::createDatabase() the DDL lock is held while the config server is running the _flushDatabaseCacheUpdates command is being run on the shard.

      The goal of this ticket is to investigate if it is safe to perform the refresh outside the database DDL lock scope.

      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:
            2 Start watching this issue

            Dates

              Created:
              Updated: