Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12795

Review and simplify API tracking macros

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 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

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: