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

Improve statistics macros to not collect stats when statistics=none is set

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 3.3 Desired
    • Fix Version/s: WT2.9.0, 3.2.10, 3.3.14
    • Labels:
      None

      Description

      Statistics macros update all statistics even when statistics is set to none/fast/all. none/fast/all makes a difference in how the stats_cursor collects the statistics when these statistics get reported.

      Fix macros to not update any stats when statistics=none is set.
      Also, rename macros to reflect that there is no difference in fast/all wrt updating stats.

        Attachments

          Activity

            People

            • Assignee:
              sulabh.mahajan Sulabh Mahajan
              Reporter:
              sulabh.mahajan Sulabh Mahajan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: