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

Systematic mechanism to adapt test assertions in passthroughs for CBR

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization

      As part of the cost-based ranker initiative, we have introduced several passthroughs which are forced to disable tests which either directly (assertions on explain) or indirectly (assert on number of keys examined, memory limit hit, etc.) that a particular plan was chosen. To not lose coverage of such test cases, we should come up with a way to detect a test is running with CBR enabled and in these cases make alternative assertions about the chosen plan - after verifying that CBR doesn't choose a worse plan.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: