[SERVER-74533] Make sure unittests with StaticCatalogClient override getCollectionAndGlobalIndexes Created: 02/Mar/23  Updated: 29/Oct/23  Resolved: 03/Mar/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Allison Easton Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: PM-2583-Milestone-3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-03-06
Participants:

 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.



 Comments   
Comment by Githook User [ 03/Mar/23 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-74533 Make sure unittests with StaticCatalogClient override getCollectionAndGlobalIndexes
Branch: master
https://github.com/mongodb/mongo/commit/1b6bac4c6ca10d3494d15a4afc0ad554c286cfc9

Generated at Thu Feb 08 06:27:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.