[SERVER-75318] Allow collection validation to validate compound wildcard indexes even if the FCV is below 7.0 Created: 27/Mar/23 Updated: 29/Oct/23 Resolved: 30/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ruoxin Xu | Assignee: | Ruoxin Xu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | QO 2023-04-03 | ||||
| Participants: | |||||
| Linked BF Score: | 135 | ||||
| Description |
|
We check FCV before any CWI validation in order to ban the creation of a CWI if FCV is below 7.0. However, collection validation takes the same path for index validation. So users could validate the collection after FCV is downgraded, but would fail to validate because we fail the index key pattern validation if FCV < 7.0. Therefore, we should allow validating CWI during collection validation regardless of the FCV, just as we allow the continued use of CWI after FCV is downgraded.
To allow collection validation to validate CWI in the catalog even after FCV is downgraded, we should skip checking the FCV if we are in a process of collection validation. |
| Comments |
| Comment by Githook User [ 29/Mar/23 ] |
|
Author: {'name': 'Ruoxin Xu', 'email': 'ruoxin.xu@mongodb.com', 'username': 'RuoxinXu'}Message: |