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

first_n_last_n.js test relies on monotonic generated _id

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • QE 2023-08-21
    • 35

    Description

      In first_n_last_n.js test we rely on insertMany to generate monotonically increasing object ids, but it didn't provide ordered: true to insert command and we don't guarantee that auto generated _id will be in order.

       

      Attachments

        Activity

          People

            ivan.fefer@mongodb.com Ivan Fefer
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: