[SERVER-43254] Hang Analyzer shell integration uses child and peer mongo processes Created: 10/Sep/19  Updated: 29/Oct/23  Resolved: 16/Oct/19

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: Backlog
Fix Version/s: 4.3.1

Type: New Feature Priority: Major - P3
Reporter: Ryan Timmons Assignee: Ryan Timmons
Resolution: Fixed Votes: 0
Labels: tig-hanganalyzer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-43255 Automatically call whatthefailure fro... Closed
Backwards Compatibility: Fully Compatible
Sprint: STM 2019-09-23, STM 2019-10-03, STM 2019-10-17
Participants:
Story Points: 3

 Description   

This can be done in parallel with any other PM-1546 work.

Create a new whatthefailure.js javascript file (class) in the shell. For now this will just have a single static method called WTF.areOtherMongosDoing(opts) (name subject to change). This will shell out to the existing hang_analyzer.py script via the runProgram shell built-in.

The opts parameter has the following fields:

  1. pids optional array of pids to pass into hang-analyzer. If not specified will use the pids of child and/or peer mongo processes obtained via TestData or shell built-ins (both added in other tickets)
  2. args optional array of strings - additional set of args to pass to hang-analyzer. If not specified will use reasonable defaults (probably just empty). This is a "private" parameter (not documented or required to be backward-compatible) because most users should never need to use/see/set it.


 Comments   
Comment by Githook User [ 15/Oct/19 ]

Author:

{'username': 'rtimmons', 'email': 'ryan.timmons@mongodb.com', 'name': 'Ryan Timmons'}

Message: SERVER-43254 Hang Analyzer shell integration uses child and peer mongo processes
Branch: master
https://github.com/mongodb/mongo/commit/f4c495f0848ba8bf6200b966c3bb4235fee7a7d9

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