[SERVER-36167] Add pretty printer for WT `flags` members Created: 17/Jul/18  Updated: 29/Oct/23  Resolved: 19/Jul/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.0.1

Type: New Feature Priority: Major - P3
Reporter: Daniel Gottlieb (Inactive) Assignee: Daniel Gottlieb (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-07-30
Participants:

 Description   

WT uses a standard `flags` field across multiple structures that is implemented as a bitset. Each structure uses a set of sorted define statements.

It would be nice if there was a GDB pretty printer that additionally gave a string readable form with the `flag` member value. This would require the source file being present and checked out to the right version. That seems like a reasonable requirement because flag values can change between commits; having the proper file is necessary for a human to know what flags are set.



 Comments   
Comment by Githook User [ 19/Jul/18 ]

Author:

{'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}

Message: SERVER-36167: Add flags pretty printing for WT session/txn/cursor.
Branch: master
https://github.com/mongodb/mongo/commit/71750f6060da2a48686c7835a65e95179d856e4f

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