[SERVER-70009] Use IDL for index spec validation Created: 27/Sep/22  Updated: 14/Aug/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Matthew Saltz (Inactive) Assignee: Backlog - Storage Execution Team
Resolution: Unresolved Votes: 0
Labels: techdebt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Participants:

 Description   

There's a concept in the codebase of an "index spec". We have an IDL type for NewIndexSpec, but it seems like we don't use it much in C++. Specifically, the logic to validate an index spec doesn't use IDL at all. We might be able to use custom C++ validators in IDL and replace this validation logic with just parsing the IDL type.


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