[SERVER-49882] Log status in the catch block in JSThread::run() Created: 24/Jul/20  Updated: 29/Oct/23  Resolved: 24/Aug/20

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.7.0, 4.4.13

Type: Improvement Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Charlie Swanson
Resolution: Fixed Votes: 0
Labels: greenerbuild, qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-62171 Add logs to output of runConcurrentMo... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Participants:
Linked BF Score: 0

 Description   

Currently, if a JSThread exits abnormally and the thread doesn't get joined, the error will not get logged. It would be very useful if we log the status here



 Comments   
Comment by Githook User [ 14/Jan/22 ]

Author:

{'name': 'Charlie Swanson', 'email': 'charlie.swanson@mongodb.com', 'username': 'cswanson310'}

Message: SERVER-49882 Log status in the catch block in JSThread::run()

(cherry picked from commit ce6cfc30df7f5545e19a2cdf84b94777eaa3b4de)
Branch: v4.4
https://github.com/mongodb/mongo/commit/408474bcb949872e8757b6b3e4dca2dc3816462c

Comment by Githook User [ 24/Aug/20 ]

Author:

{'name': 'Charlie Swanson', 'email': 'charlie.swanson@mongodb.com', 'username': 'cswanson310'}

Message: SERVER-49882 Log status in the catch block in JSThread::run()
Branch: master
https://github.com/mongodb/mongo/commit/ce6cfc30df7f5545e19a2cdf84b94777eaa3b4de

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