Remove the WT_TXNID_LT and WT_TXNID_LT macros

XMLWordPrintableJSON

    • Type: Technical Debt
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Not Applicable
    • Storage Engines
    • SE Transactions - 2025-05-23
    • 3

      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:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: