Make timeseries create path idempotent and concurrency safe

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2026-03-16
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      The current timeseries creation path is affected by several issues:

      • view and non-timeseries creation does not check for the presence of  legacy system.buckets collection leading to the creation of both main namespace and legacy system.buckets collection (no concurrency required)
      • view and non-timeseries creation are not serialized properly with legacy timeseries creation leading to the creation of both main namespace and legacy system.buckets collection (concurrency required)
      • viewless and viewful timeseries creation are not serialized properly between each other leading to the creation of both viewless timeseries collection and legacy system.buckets collection (concurrency required)
      • a timeseries creation started in FCV 9.0 that encounter an orphaned system.buckets collection does not create the missing view.

      In this ticket we will re-write the timeseries creation path to address all of the above.
       

            Assignee:
            Tommaso Tocci
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: