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

QueryPlannerAccess::processIndexScans fails when MatchExpression is not optimized

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • 13

    Description

      It looks like when the 'disableMatchExpressionOptimization' failpoint is set, QueryPlannerAccess can do an incorrect static_cast.

      We should fix this to prevent it from happening in the optimization fuzzer. We also might as well use checked_cast to make diagnosis easier.

      Attachments

        Activity

          People

            david.percy@mongodb.com David Percy
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: