Add ATOMIC_CAS_RELAXED for __wt_atomic_cas_uint64( &btree->rec_lsn_max, old_rec_lsn_max

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - Transactions
    • SE Transactions - 2026-03-27, SE Transactions - 2026-04-10
    • 3

      In the function of __rec_write_page_status, 
      __wt_atomic_cas_uint64(
      &btree->rec_lsn_max, old_rec_lsn_max, page->disagg_info->rec_lsn_max)_wt_atomic_cas_uint64 is heavy, so we can add _wt_atomic_cas_uint64_relaxed to make it more performant.

            Assignee:
            Shoufu Du
            Reporter:
            Shoufu Du
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: