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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Done
    • 3.3 Desired
    • WT2.9.0, 3.2.10, 3.3.14
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: