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

Reduce code duplication by improving statistics macros

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

      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@mongodb.com Clarisse Cheah
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: