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

Remove the WT_TXNID_LT and WT_TXNID_LT macros

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Not Applicable
    • Storage Engines
    • 3
    • StorEng - Defined Pipeline

      Note that this is currently a proposal, discussion/push back is welcomed.

      The WT_TXNID_LT and WT_TXNID_LE used to contain special handling for transaction IDs like WT_TXN_ABORTED and WT_TXN_NONE, however these days they just evaluate to `a < b` and `a <= b` respectively. This looks like a candidate to remove the macros and use `<`, `<=` comparisons directly.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: