[SERVER-50396] Align mongosymb_multithread to current SIGUSR2 stack dump format Created: 20/Aug/20  Updated: 29/Oct/23  Resolved: 05/Oct/20

Status: Closed
Project: Core Server
Component/s: Diagnostics
Affects Version/s: 4.4.0
Fix Version/s: 4.9.0, 4.4.5

Type: Bug Priority: Minor - P4
Reporter: Josef Ahmad Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: servicearch-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Service arch 2020-10-05, Service arch 2020-10-19
Participants:

 Description   

Observed on 4.5.0-2764-g0d073ce and 4.4.0. mongosymb_multithread doesn't parse stack traces because of an attribute name change. This diff restores functionality.

--- a/buildscripts/mongosymb_multithread.py
+++ b/buildscripts/mongosymb_multithread.py
@@ -34,8 +34,8 @@ def main():
             if "prologue" in attr:
                 prologue = attr["prologue"]
 
-            if "threadRecord" in attr:
-                thread_record = attr["threadRecord"]
+            if "record" in attr:
+                thread_record = attr["record"]
                 merged = {**thread_record, **prologue}



 Comments   
Comment by Githook User [ 26/Feb/21 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-50396 mongosymb_multithread look for new element names

(cherry picked from commit 84494ea46f70d64e181042ed75a0118143b16881)
Branch: v4.4
https://github.com/mongodb/mongo/commit/379f57d907c0d2fc340d9e6914d1f567ab1f2993

Comment by Githook User [ 02/Oct/20 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-50396 mongosymb_multithread look for new element names
Branch: master
https://github.com/mongodb/mongo/commit/84494ea46f70d64e181042ed75a0118143b16881

Comment by Billy Donahue [ 30/Sep/20 ]

CR http://mongodbcr.appspot.com/684470005

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