Add serverStatus metrics for index builds

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0
    • Affects Version/s: 4.4.6
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2021-09-20, Execution Team 2021-10-04
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the only method to determine if an index build is in-progress is to read the mongod log files or look at currentOp.

      Adding the number of in-progress index builds would greatly aid diagnostics as not all createIndex commands result in an index build or an index build may have been started before the available logs or FTDC data.

      Also helpful would be the stage of the current index builds ("drained side writes" for example https://docs.mongodb.com/manual/core/index-creation/#index-build-process). 

              Assignee:
              Josef Ahmad
              Reporter:
              Kevin Arhelger
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: