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

Test session statistics return expected values and reset correctly

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: