-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
We have many assertions in the WiredTiger code, but they only report any type of issue when HAVE_DIAGNOSTIC is enabled. It would often be useful to know whether an unexpected condition has been encountered in release builds as well (so we would get more information about failures in the field).
We should review all places in the code where we use WT_ASSERT, and add an informational message where appropriate. We might want to introduce some new macros to make it easy to log messages in non-diagnostic builds (that depends on how many cases we find.
- is related to
-
WT-4810 Adding WT_ERR_ASSERT and WT_RET_ASSERT macros
- Closed