Investigate changes in SERVER-105573: Add stage constraint to block stages from running on timeseries

XMLWordPrintableJSON

    • Type: Investigation
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Developer Tools

      Original Downstream Change Summary

      search stages such as $search, $searchMeta, and $vectorSearch used to return empty results for timeseries collections. This ticket changed the behavior and now $search, $searchMeta, and $vectorSearch will fail with the error message "<stage name> is unsupported for timeseries collections" if run on a timeseries collection.

      Description of Linked Ticket

      We should block stages that should never run on timeseries collections from running on timeseries collections. We can do this by adding a new stage constraint to certain document sources. $search stages cannot run on timeseries collections and should be validated through a stage constraint.

      Separate but related tickets are filed for the following stages because they need a different implementation

      • $rankFusion pipelines
      • $merge target collection. The source collection can be a timeseries collection, but the $merge.into collection cannot be a timeseries collection
      • change streams

            Assignee:
            Unassigned
            Reporter:
            Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: