Investigate edge cases around DISTINCT_SCAN eligibility on a sharded cluster

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • ALL
    • QO 2024-11-11, QO 2024-11-25
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      There are various queries in 'group_conversion_to_distinct_scan.js' and 'group_with_top_bottom_to_distinct_scan.js' where we unexpectedly pick or don't pick DISTINCT_SCAN plans when the collection is sharded.

            Assignee:
            Henri Nikku
            Reporter:
            Henri Nikku
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: