Summary
A new configuration item diagnostic_asserts will be added to the configuration string passed into the following functions:
- wiredtiger_open,
- WT_CONNECTION::reconfigure,
- WT_CONNECTION::open_session, and
- WT_SESSION::reconfigure
This will then set a new flag on the connection/session respectively. When the item is set on a session it applies only to that session. When set on a connection it is also applied to all sessions that do not have this item explicitly set.
Note at the time of writing adding this item to sessions and the calls to WT_CONNECTION::open_session, and WT_SESSION::reconfigure is still under discussion and may change.
Use of this new flag is added in a subsequent ticket.