Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6863

Reduce code duplication by improving statistics macros

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              clarisse.cheah Clarisse Cheah (Inactive)
              Reporter:
              alexander.gorrod Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: