Move the debug mode retention flags behind a lock

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT11.2.0, 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2023-07-25 Absolute unit, StorEng - 2023-08-08
    • 5

      Reads from debug_log_cnt currently use a WT_ORDERED_READ to ensure correct operation, but we may be able to simplify this to a WT_READ_ONCE (to be added in WT-11285).

      This ticket will review the relation between debug_log_cnt and debug_ckpt_cnt, If the two variables have no dependence then this ticket can be closed as Won't Do and WT-11285 will change the read from debug_log_cnt to a READ_ONCE.

      If the two variables are related then we may change this logic to use a mutex instead of read barriers.

            Assignee:
            Andrew Morton
            Reporter:
            Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: