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

createIndexes should handle empty index specs on config.transactions

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

      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@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: