Support Viewless Time Series Collections in $out

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We need to support creating viewless time series collections when creating collections via the $out stage.

      When the collection does not already exist, $out creates a temporary collection. For time series it just creates the bucket collection, not the view, and inserts into that directly. The collection is then renamed after all the inserts have completed.

      Depending on the value of the feature flag, we should create a viewless time series collection.

       

      Note from BF-39536 / SERVER-110820: the test 'timeseries_agg_out_interupt_cleanup.js' was (usually / intermittently) passing before it was disabled for viewless timeseries. This is surprising, both that it passed without viewless timeseries support for $out, and that it was intermittent. If possible, it would be good to understand why this was happening when implementing this ticket, to ensure there isn't another unrelated but to $out + viewless timeseries.

            Assignee:
            Unassigned
            Reporter:
            Chris Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: