[SERVER-57625] Add serverStatus metrics for index builds Created: 10/Jun/21  Updated: 29/Oct/23  Resolved: 28/Sep/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 4.4.6
Fix Version/s: 5.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Kevin Arhelger Assignee: Josef Ahmad
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-59084 Add "includeIndexBuildInfo" flag to l... Closed
related to SERVER-60791 Add information about index build sta... Closed
related to SERVER-65796 convert serverStatus metrics for inde... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-09-20, Execution Team 2021-10-04
Participants:

 Description   

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). 



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 28/Sep/21 ]

Author:

{'name': 'Josef Ahmad', 'email': 'josef.ahmad@mongodb.com', 'username': 'josefahmad'}

Message: SERVER-57625 Add serverStatus metrics for in-progress index builds
Branch: master
https://github.com/mongodb/mongo/commit/378f22798d19eddb1db8e53a55c2a90c32d23ae3

Generated at Thu Feb 08 05:42:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.