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

QueryPlannerAccess::processIndexScans fails when MatchExpression is not optimized

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0, 6.0.20, 5.0.31
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • v6.0, v5.0
    • 200

      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.

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

              Created:
              Updated:
              Resolved: