[tor-bugs] #19771 [Metrics/CollecTor]: investigate halt of scheduling for one of many tasks in collector's scheduler
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Aug 8 07:50:55 UTC 2016
#19771: investigate halt of scheduling for one of many tasks in collector's
scheduler
-------------------------------+---------------------------------
Reporter: iwakeh | Owner: iwakeh
Type: defect | Status: needs_review
Priority: High | Milestone: CollecTor 1.0.0
Component: Metrics/CollecTor | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------+---------------------------------
Changes (by iwakeh):
* priority: Medium => High
* status: assigned => needs_review
Comment:
Added a test that reproduces the issue and a solution patch.
The problem occurs when a `java.lang.Error` is thrown. Now, `Throwable`
is caught in `CollecTorMain.run` and the error is logged.
Usually, `Error`s pose a serious problem; so there should be a note in the
Operator guide about monitoring logs. (added this to #18734)
Please review the
[https://gitweb.torproject.org/user/iwakeh/collector.git/commit/?h=task-19771&id=c8903b445e26f80cf3d2942ae3b28d1e8facb1c4
patch branch].
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19771#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list