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

MetadataManager directly calls into the CatalogCache

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.1.1
    • 4.0.3, 4.1.1
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2018-07-02

    Description

      The MetadataManager class, which contains the sharding filtering information incorrectly references the catalog cache. This is wrong because if the cache doesn't contain the filtering information for the specified collection, it will return empty filtering information, which may lead to incorrect results from being returned.

      This is not a problem in 4.0 because the createMetadataAt method is not used, but will be in 4.2 when we start supporting sharded read-only transactions.

      Attachments

        Issue Links

          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: