Consider using CAS for calculating max statistic values

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Not Applicable
    • None
    • Storage Engines, Storage Engines - Foundations
    • SE Foundations - Q3+ Backlog
    • 5

      Currently, in many places where the maximum or minimum values for some statistics are calculated, we use a load + store approach (see __wt_atomic_stats_max and __wt_atomic_stats_min), which can lose some values. Consider using relaxed CAS instead to make it lossless.

      Requires additional perf measurements.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Ivan Kochin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: