[CQF] Update fallback mechanism to allow sharded aggregations to use CQF

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2023-11-13
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Aggregation commands sent from mongos to shards have let and collation parameters added to them. This causes those queries to fall back to classic, arguably unexpectedly when the original command does not have those fields set. Interestingly, the equivalent find commands do not have those parameters.

      We should update the fallback mechanism to allow queries with simple collations and unused let variables to go through CQF. This will allow sharded aggregations to use CQF.

            Assignee:
            Hana Pearlman
            Reporter:
            Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: