[SERVER-78203] Validate compound wildcard indexes with downgraded FCV in createIndex command Created: 19/Jun/23 Updated: 29/Oct/23 Resolved: 21/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc5, 7.0.0-rc6 |
| 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 | ||||||||
| Backport Requested: |
v7.0
|
||||||||
| Sprint: | QO 2023-06-26 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 129 | ||||||||
| Description |
|
Currently a mongod fails to startup if there exists any compound wildcard index and the FCV is downgraded below 7.0. We should only ban any new creation of a CWI if FCV < 7.0 but allow CWI's continued use and mongod should start successfully.
Historically, if FCV is downgraded, we choose to fail a start of a mongod with the existence of a new index type in the collection. In order to help customer get out of the situation that the mongod server cannot be restarted after FCV is downgraded and a CWI is not removed, we should still allow the index creation on start up even if FCV < 7.0. Only starting a mongod with the binary version < 7.0 should fail. |
| Comments |
| Comment by Githook User [ 21/Jun/23 ] |
|
Author: {'name': 'Ruoxin Xu', 'email': 'ruoxin.xu@mongodb.com', 'username': 'RuoxinXu'}Message: (cherry picked from commit aaf8464c54244781177f57f341f59a324bac39ca) |
| Comment by Githook User [ 21/Jun/23 ] |
|
Author: {'name': 'Ruoxin Xu', 'email': 'ruoxin.xu@mongodb.com', 'username': 'RuoxinXu'}Message: |