[SERVER-32545] Improve PlanEnumerator logLevel 5 debug output Created: 04/Jan/18  Updated: 30/Oct/23  Resolved: 05/Jan/18

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.7.1

Type: Improvement Priority: Major - P3
Reporter: David Storch Assignee: David Storch
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-32441 3.6 mongod crash on find with index a... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2018-01-15
Participants:

 Description   

Improve PlanEnumerator::dumpMemo() output in the following ways:

  1. Add information about or pushdowns stored in the PlanEnumerator's memo structure.
  2. Fix a bug in which dumpMemo() failed to print the memo entry with the highest-valued memo id.

These fixes were helpful for diagnosing SERVER-32441, and also may be helpful for investigating future issues in the PlanEnumerator.



 Comments   
Comment by Githook User [ 05/Jan/18 ]

Author:

{'name': 'David Storch', 'username': 'dstorch', 'email': 'david.storch@10gen.com'}

Message: SERVER-32545 Don't exclude highest MemoID when dumping PlanEnumerator state as debug output.
Branch: master
https://github.com/mongodb/mongo/commit/c5e0c333d40251d818345052d1601c66e0c60305

Comment by Githook User [ 05/Jan/18 ]

Author:

{'name': 'David Storch', 'username': 'dstorch', 'email': 'david.storch@10gen.com'}

Message: SERVER-32545 Enhance PlanEnumerator debug output to include orPushdown info.
Branch: master
https://github.com/mongodb/mongo/commit/aede604ae71e75ea2b59e4da41ea0294117b8c6c

Generated at Thu Feb 08 04:30:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.