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

Define and Implement getOperationStatistics of storage interface

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.9, 4.1.7
    • None
    • None
    • Fully Compatible
    • v4.0
    • Storage Engines 2018-12-17
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: