[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: |