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

timeseries_min_max.js assumes measurements are returned in insertion order

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0, 5.1.2, 5.0.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.1, v5.0
    • Execution Team 2021-11-29
    • 58

      The test assumes that the last inserted measurement will be in the last inserted bucket. There's no guarantee of that being always true. This issue was revealed after SERVER-61194, where the instance bytes of the ObjectId can be different on the same process as they get modified to prevent the risk of overflowing if a lot of buckets are being generated.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: