Use delta format for updating timeseries buckets

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2020-12-28
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently we create update operations using $set to perform timeseries inserts into existing buckets. However, because $set inserts new fields into a sorted position for idempotency reasons, this means that the bucket orders elements in order like:

       0, 1, 10, 11, 2, 3, 4, 5, 6, 7, 8, 9
      

      This is a problem for unwinding and will also make it impossible to implement future optimizations to efficiency: eventually, we'd like to be able to blindly append new fields to the end of existing objects without parsing all existing fields.

            Assignee:
            Benety Goh
            Reporter:
            Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: