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

Circular call dependency between CatalogManager and CatalogCache

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.3, 3.3.1
    • Component/s: Sharding
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Sprint:
      Sharding F (01/29/16)
    • Linked BF Score:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: