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

Refactor checking the value of 'internalQueryFrameworkControl' throughout query code

    XMLWordPrintableJSON

Details

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

    Description

      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. 

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: