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

Make sure unittests with StaticCatalogClient override getCollectionAndGlobalIndexes

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Sharding EMEA 2023-03-06

    Description

      Some unittests (resharding_destined_recipient_test and migration_util_test use a StaticCatalogClient as a backing for the catalog cache. These tests will start failing once the global indexes feature flag is enabled because the getCollectionAndGlobalIndexes function isn't overridden and will be called by the catalog cache during refreshes.

      Attachments

        Activity

          People

            allison.easton@mongodb.com Allison Easton
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: