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

Log QuerySolution hash when final plan is chosen

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

      For improved debugability, let's log the hash (at log level 5) of the winning query solution when planning is finished. The log line that might fit best would be

      {msg: "Winning solution", "attr": {"bestSolution":"FETCH ... "}}
      

      we could add on the hash as an additional field.

            Assignee:
            alexander.ignatyev@mongodb.com Alexander Ignatyev
            Reporter:
            matt.boros@mongodb.com Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: