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

Test session statistics return expected values and reset correctly

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • Storage Engines 2018-12-03

      Add the session-statistics to the statistics cursor, __wt_cursor_stat.

      Implement the earlier placed stub, __curstat_session_init to copy a snapshot of the session-statistics structure from WT_SESSION_IMPL into __curstat_session_init.

      Scope includes updating all the curstat methods as required to support session statistics.

      To add a test:

      1. Open a session statistics cursor on a session for which session statistics collection is disabled.
      2. Open a session statistics cursor on a session for which session statistics collection is enabled.
      3. Open a session statistics cursor on a session for which session statistics collection is enabled and fetch statistics with out performing any other operation on the session.

            Assignee:
            neha.khatri Neha Khatri
            Reporter:
            vamsi.krishna@mongodb.com Vamsi Boyapati
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: