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

Validate will fail the min/max check for time-series collections that have had their granularity changed

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • ALL
    • Execution Team 2024-10-14

      Validate currently checks that the control.min.timefield of a bucket is <= the observed earliest measurement, rounded down according to the granularity. 

      However, when we change the granularity to be higher (going, for example, from seconds -> minutes, minutes -> hours, etc), the timestamp of the earliest measurement will be rounded down to be LESS than the control.min timestamp, because of the new, coarser granularity.

      This results in a false-positive validation failure. 

            Assignee:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Reporter:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: