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

Circular call dependency between CatalogManager and CatalogCache

    • Fully Compatible
    • ALL
    • Sharding F (01/29/16)
    • 0

      The two implementations of CatalogManager::shardCollection (in CSRS and legacy) call ChunkManager::reload in order to refresh the cached collection metadata. This call however, internally accesses the catalog cache, which introduces circular dependency.

      The CatalogManager should sit under the read-through CatalogCache so this dependency should not exist.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: