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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: