Validate index entries at catalog layer

XMLWordPrintableJSON

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

      While implementing SERVER-52539, I noticed that it's possible to create invalid index entries. For example, we can pass {key: {a: 1}, dropDups: "this should be a bool but it's a string"} to createIndexes, and create an invalid entry, which is then returned by listIndexes.

      After SERVER-52539, createIndexes will be much stricter at the command-parsing layer. However, perhaps we should consider more validation at the catalog layer as well.

              Assignee:
              [DO NOT USE] Backlog - Storage Execution Team
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: