Index creation does not enforce type of bucketSize field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.1, 7.3.0-rc0, 7.0.6, 5.0.25, 6.0.14
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Minor Change
    • ALL
    • v7.2, v7.0, v6.0, v5.0
    • Execution Team 2024-01-08
    • 5
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When running the createIndexes command, if the bucketSize field is provided then it is supposed to be a number. This should be enforced by the index_key_validate::validateIndexSpec function, but it is not. Thus any type can be provided for bucketSize and it will be persisted in the catalog as such.

              Assignee:
              Gregory Noma
              Reporter:
              Gregory Noma
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: