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

Refactor checking the value of 'internalQueryFrameworkControl' throughout query code

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • v7.0
    • QE 2023-08-07, QE 2023-08-21, QE 2023-09-04

      When initializing our CanonicalQuery for query planning, we cannot check the 'internalQueryFrameworkControl' parameter more than once, because this parameter is runtime configurable and can change between the two checks (the value is not guaranteed to be constant throughout the lifetime of a query).

      One option that was discussed was adding it as a decorator on the operation context or on the expression context. 

            Assignee:
            zixuan.zhuang@mongodb.com Zixuan Zhuang
            Reporter:
            kristina.znam@mongodb.com Kristina Znam
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: