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

Avoid refreshing database cache under DDL lock upon DB creation

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • 2

      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.

            Assignee:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: