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

Stat clear is not clearing the proper lookaside cursor stats

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.0, 4.3.3, 4.2.4
    • None
    • 1
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: