[SERVER-77843] Give all diagnostic commands kImmediate priority Created: 06/Jun/23  Updated: 29/Oct/23  Resolved: 06/Sep/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc2

Type: Improvement Priority: Major - P3
Reporter: Judah Schvimer Assignee: Haley Connelly
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-77875 Create stall monitor for all commands... Open
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0
Sprint: Execution EMEA Team 2023-09-04, Execution EMEA Team 2023-09-18
Participants:

 Description   

The main commands Cloud Monitoring uses that we should include are: hello/isMaster, serverStatus, replSetGetStatus, collstats, buildInfo, _isSelf, getCmdLineOpts, getLog, hostInfo, connPoolStats, dbStats



 Comments   
Comment by Haley Connelly [ 06/Sep/23 ]

Since it is difficult to exhaust every path every diagnostic command may go down (and whether the paths will include acquiring a GlobalLock), these changes proactively label diagnostic commands as immediate priority. Thus, even if the GlobalLock isn't acquired today, if it some day is, there is a safeguard in place to ensure the operations don't block trying to acquire a ticket for the GlobalLock.

Comment by Githook User [ 06/Sep/23 ]

Author:

{'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}

Message: SERVER-77843 Give diagnostic commands immediate priority
Branch: master
https://github.com/mongodb/mongo/commit/cf541f8434547d156cd2f832f78d5fd77e72b279

Generated at Thu Feb 08 06:36:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.