Remove assert_no_legacy_shard_cache_collections.js test hook

XMLWordPrintableJSON

    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2026-07-20
    • 200
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-128437 we recently added a LegacyShardCacheCollectionsPresent check to checkMetadataConsistency to assert config.cache.* collections do not exist when upgraded to FCV 9.0. This fully supersedes the assert_no_legacy_shard_cache_collection.js test hook we added in SERVER-127979, so we can just remove it.

       

      This will also fix spurious failures of this hook in the sharding_stepdown_fcv_upgrade_downgrade_jscore_passthrough suite since it's missing logic to be resilient to stepdowns.

            Assignee:
            Joan Bruguera Micó
            Reporter:
            Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: