Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38239

Define and Implement getOperationStatistics of storage interface

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.9, 4.1.7
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      Storage Engines 2018-12-17
    • Story Points:
      5

      Description

      To define a storage interface for getOperationStatistics method.
      To implement this interface for WiredTiger storage engine.

      Suggestion:
      ------------
      1. Storage interface could be RecoveryUnit::getOperationStatistics(bool reset)
      2. WiredTiger method could be WiredTigerRecoveryUnit::getOperationStatistics(bool reset).

      WiredTiger implementation will open a session statistics cursor, fetches the statistics from WiredTiger session and returns them as a BSON object.

       

      Whether this will return the BSON object if any of the statistics is zero ? need to be discussed with NY.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: