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

Define and Implement getOperationStatistics of storage interface

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.9, 4.1.7
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v4.0
    • Storage Engines 2018-12-17
    • 5

      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.

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

              Created:
              Updated:
              Resolved: