Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-101489

Refactor logic for converting non-agg timeseries queries to agg ones

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

      Timeseries queries can only be executed with agg, so any find queries against timeseries collections must be converted to agg pipelines first.

      Currently we do this in runFindOnView in find_cmd.cpp, but we will need to do this in other places too for viewless timeseries collections.

      The dependency tickets will handle find, count, and distinct. This ticket is about
      1. Refactoring common logic out and
      2. Making sure that any other commands that were left out during the initial investigation are also fixed.

            Assignee:
            Unassigned Unassigned
            Reporter:
            william.qian@mongodb.com William Qian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: