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

Time-series bucket rounding for pre-1970 dates behaves unexpectedly

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.4, 7.0.16, 6.0.20
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • v8.0, v7.0, v6.0
    • Execution Team 2022-10-17, Execution Team 2022-10-31, Execution Team 2022-11-14, Execution Team 2022-11-28, Execution Team 2024-09-02, Execution Team 2024-09-16

      Instead of rounding timestamps down as expected, the server will round the bucket's minimum timestamp up for pre-1970 dates. (More accurately, it rounds the timestamp, expressed as an offset from the Unix epoch, towards zero.) This can result in incorrect control.min time values.

            Assignee:
            henrik.edin@mongodb.com Henrik Edin
            Reporter:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: