createIndexes should handle empty index specs on config.transactions

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.1, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Execution Team 2022-07-25
    • 17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The createIndexes is expected to check for and reject an empty list of index specs (with an error code of BadValue provided in the indexes field. This handling currently does not extend to the internal collection config.transactions.

      There is also a case to be made for returning IllegalOperation when we pass an empty list of specs to createIndexes because this is the behavior established in SERVER-32043 in 4.0.

              Assignee:
              Benety Goh
              Reporter:
              Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: