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

Stat clear is not clearing the proper lookaside cursor stats

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.3.3, 4.2.4
    • Component/s: None
    • Labels:
    • Story Points:
      1
    • Sprint:
      Storage Engines 2020-01-27

      Description

      Whenever the WT_STAT_CLEAR passed during the configuration of the connection, the statistics that are used from the lookaside cursors need to be reset. Instead of clearing the cursor statistics that are used, it reset other stats.

              WT_STAT_SET(session, dstats, cursor_insert, 0);
      

      The proper cursor stat that needs to be reset is cursor_update instead of cursor_insert.

        Attachments

          Activity

            People

            Assignee:
            andrew.mcmenemy Andrew McMenemy
            Reporter:
            haribabu.kommi Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: