Stat clear is not clearing the proper lookaside cursor stats

XMLWordPrintableJSON

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

      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
              Reporter:
              Haribabu Kommi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: