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

Introduce bucketRoundingSeconds time-series option

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2022-07-11, Execution Team 2022-07-25, Execution Team 2022-08-08

      Currently, we have an implicit bucketing parameter that controls how we round down the min timestamp for bucket at creation time. This value is derived from the collection's 'granularity' value. The 'granularity' also controls the 'bucketMaxSpanSeconds' value, which we store explicitly in the collection's time-series options.

      We want to make the rounding parameter explicit as well, and store it as an optional parameter 'bucketRoundingSeconds'.

      For this ticket, we will only store the value for newly-created collections. It will still be derived from 'granularity' and cannot be controlled independently. We will defer downgrade work to future tickets.

            Assignee:
            david.wang@mongodb.com David Wang (Inactive)
            Reporter:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: