-
Type: Technical Debt
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Engines
-
StorEng - Defined Pipeline
WiredTiger uses macros to track and enforce some constraints about API entry and exit. Those macros have become more complex over time, and are difficult to enhance.
We should review their implementation, split their functionality out and make sure that the order of calling the macros is well defined.
We should also try to move towards function calls instead of macros so that the code is easier to follow and more debuggable.
The scope of this is the content of src/include/api.h