timeseries_min_max.js assumes measurements are returned in insertion order

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Gregory Wlodarek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: