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

createIndexes should handle empty index specs on config.transactions

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.1, 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Execution Team 2022-07-25
    • 17

    Description

      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.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: