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

Add a test to detect any changes in explain format

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Query Optimization
    • Query Execution 2021-04-05, Query Execution 2021-05-31, Query Execution 2021-06-14, Query Execution 2021-06-28

      Dev Tools wants to be notified about all changes in the explain format. To make sure none of such changes get pass unnoticed, they suggested to create a test which would validate explain output for various query plans. The idea is to cover all possible plans that we can generate. I'm not sure whether it would be feasible at all to come up with such a test, and then support it. This idea also is not quite aligned with our approach to testing explain, since we're validating only specific parts of the output for certain type of queries, rather than checking the entire output. We need to investigate and decide whether such a test would be beneficial. 

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: