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

Circular call dependency between CatalogManager and CatalogCache

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.3, 3.3.1
    • Sharding
    • Fully Compatible
    • ALL
    • Sharding F (01/29/16)
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: