-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Engines
-
StorEng - Defined Pipeline
/*
* This is an expensive call on a performance-critical path, so we only want to enable it behind
* the stress_skiplist session flag.
*/
if (FLD_ISSET(S2C(session)->debug_flags, WT_CONN_DEBUG_STRESS_SKIPLIST))
WT_RET(__validate_next_stack(session, cbt->next_stack, srch_key));
We have this code in this code path to reduce its overhead to the performance critical code path. We can do more to consider only enable and check the debug_flags for the diagnostic build.