Create a property-based test to assert that hinting all indexes returns the same results

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      This property test could take a randomly generated query, run explain to look at the winning and rejected plans, and then run every plan to assert the results are all the same.

      There may be some plans we consider that are never run in our jstests because the data in the collection isn't the right distribution. It would be hard to find these issues without forcing each plan to run and asserting on the results. This is an area where PBT excels.

            Assignee:
            Matt Boros
            Reporter:
            Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: