Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-70009

Use IDL for index spec validation

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: