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

createIndexes should handle empty index specs on config.transactions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.1, 6.1.0-rc0
    • 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

        Issue Links

          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: