Avoid refreshing database cache under DDL lock upon DB creation

XMLWordPrintableJSON

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

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

                Created:
                Updated: