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

Remove has_XXX booleans from the global transaction state

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Now that a timestamp of zero is reserved (WT-8973), we should be able to eliminate the has_durable_timestamp, has_oldest_timestamp and has_stable_timestamp booleans from the WT_TXN_GLOBAL structure, and use a timestamp of 0 as the not-set value instead. (We might be able to delete has_pinned_timestamp as well, but I doubt it.)

      These are all shared memory updates, living on the same cache line, and likely impact timestamp set/get performance.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: