[SERVER-15492] BackgroundJob swallows exceptions propagated from subclasses Created: 01/Oct/14  Updated: 11/Jul/16  Resolved: 28/Oct/14

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: 2.7.6
Fix Version/s: 2.8.0-rc0

Type: Bug Priority: Major - P3
Reporter: Matt Dannenberg Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-16749 Unhandled DBException in TTLMonitor t... Closed
Operating System: ALL
Participants:

 Description   

This can lead to critical threads (like SyncSourceFeedback) dying silently, when their exception really ought to bubble up and crash the entire process.

Other notable users:
ReplicaSetMonitorWatcher
DataFileSync
FSyncLockThread
Balancer
ClientCursorMonitor
IndexBuilder



 Comments   
Comment by Githook User [ 28/Oct/14 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-15492 do not swallow errors from subclasses' run() methods in BackgroundJob
Branch: master
https://github.com/mongodb/mongo/commit/18e5b98a603def84221460745f5f3e1566a7e775

Generated at Thu Feb 08 03:38:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.