[SERVER-86150] Log QuerySolution hash when final plan is chosen Created: 02/Feb/24  Updated: 06/Feb/24

Status: Open
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Matt Boros Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: greenerbuild, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Participants:

 Description   

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.


Generated at Thu Feb 08 06:59:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.