Rewrite namespace on timeseries changestreams to buckets collection

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When opening a change stream on a timeseries view, it should be rewritten into a change stream on the underlying buckets collection.

      We should update DocumentSourceChangeStream::getNsRegexForChangeStream to also match the underlying buckets collection if featureFlagTimeSeriesChangeStreams is enabled. There is no need to extend the regex for existing non-timeseries collections.

      We may also need to check the system.buckets collections for some DDL information. ChangeStreamEventTransformer::getBuilder can check system.buckets the way it already checks system.views. Alternatively, we could create a custom transformer, which would apply the default ChangeStreamEventTransformer and then transform that output.

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Mickey Winters
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: