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

update sort order in buckets collection query in time-series tests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      While reviewing SERVER-56562, it was pointed out that tests that sort on _id when querying the buckets collection may sometimes get results in an unexpected order due to the nature of the generated _id field in the schema. The tests would be more stable if we sorted on control.min._id instead in most cases. The exception to this rule would be timeseries_out_of_order.js.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-execution Backlog - Storage Execution Team
              Reporter:
              benety.goh Benety Goh
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: