Repair orphaned timeseries buckets collection during createCollection regardless of viewless timeseries flag

XMLWordPrintableJSON

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

      When a legacy timeseries collection creation is partially rolled back, the buckets collection may persist without its corresponding view.

      The createCollection code path does not handle this case when viewless timeseries is enabled, proceeding to create a viewless collection at the main namespace. This leaves two conflicting timeseries collections coexisting, breaking FCV upgrade.

      The fix is to ensure that when a buckets collection exists without a view, the view is always created to repair the legacy timeseries, regardless of whether viewless timeseries is enabled.

            Assignee:
            Meryama Nadim
            Reporter:
            Meryama Nadim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: