Reduce code duplication by improving statistics macros

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT10.0.0, 4.9.0, 4.4.4
    • Affects Version/s: None
    • Component/s: None
    • Storage - Ra 2021-01-11
    • 3

      We have a set of macros for handling statistics gathering of the WT_STAT_CONN_INCR and WT_STAT_DHANDLE_INCR type. A lot of statistics are duplicated across both the connection and dhandle, so we end up with a pair of calls to the macros. We should consolidate to allow a single macro to update both dhandle and connection statistics when both are present.

            Assignee:
            Clarisse Cheah
            Reporter:
            Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: