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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • WT2.9.0, 3.2.10, 3.3.14
    • Affects Version/s: 3.3 Desired
    • Component/s: None
    • Labels:
      None
    • Storage Engines

      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.

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

              Created:
              Updated:
              Resolved: