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

Stat clear is not clearing the proper lookaside cursor stats

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.3.3, 4.2.4
    • Affects Version/s: None
    • Component/s: None
    • 1
    • Storage Engines 2020-01-27

      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.

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

              Created:
              Updated:
              Resolved: