You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2016/07/04 13:02:11 UTC
[jira] [Commented] (OAK-3702) More resilient BackgroundThread
implementation
[ https://issues.apache.org/jira/browse/OAK-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361278#comment-15361278 ]
Alex Parvulescu commented on OAK-3702:
--------------------------------------
thanks a lot [~catholicon] for the patches! I have taken the liberty to apply them directly.
* merged to 1.0 with r1751271
* merged to 1.2 with r1751268
> More resilient BackgroundThread implementation
> ----------------------------------------------
>
> Key: OAK-3702
> URL: https://issues.apache.org/jira/browse/OAK-3702
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segmentmk
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Labels: resilience
> Fix For: 1.4, 1.3.12, 1.0.32, 1.2.17
>
> Attachments: OAK-3702.1.0.patch, OAK-3702.1.2.patch
>
>
> Currently {{BackgroundThread}} dies silently when hit by an uncaught exception. We should log a warning.
> Also calling {{Thread#start}} from within the constructor is an anti-pattern as it exposes {{this}} before fully initialised. This is potentially causing OAK-3303.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)