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

[CQF] RIDIntersect implementer accesses RepititionEstimation physical property when it might be missing

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • QO 2023-10-16

    Description

      jstests/sharding/update_compound_shard_key.js (run here) shows a query failure due to a uassert failing when referencing the value of RepetitionEstimate from a set of physical properties which is missing this property. This occurs in the implementer for RIDIntersectNode when optimized with an index target requirement.

      This ticket tracks work to check if this property exists before referencing it and provide a fallback value.

      Attachments

        Activity

          People

            ben.shteinfeld@mongodb.com Ben Shteinfeld
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: