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

XMLWordPrintableJSON

    • Storage Engines - Transactions
    • 2,545.861
    • SE Transactions - 2026-03-27, SE Transactions - 2026-04-10, SE Transactions - 2026-04-24
    • 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:
              Resolved: