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 "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2016/06/30 13:30:10 UTC
[jira] [Comment Edited] (OAK-3702) More resilient BackgroundThread
implementation
[ https://issues.apache.org/jira/browse/OAK-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15357077#comment-15357077 ]
Vikas Saurabh edited comment on OAK-3702 at 6/30/16 1:29 PM:
-------------------------------------------------------------
Attaching patches for backport into [1.2|^OAK-3702.1.2.patch] and [1.0|^OAK-3702.1.0.patch].
[~alexparvulescu], can you please review this?
/cc [~alexxx]
was (Author: catholicon):
Attaching patches for backport into [1.2|^OAK-3702.1.2] and [1.0|^OAK-3702.1.0.patch].
[~alexparvulescu], can you please review this?
/cc [~alexxx]
> 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: candidate_oak_1_0, candidate_oak_1_2, resilience
> Fix For: 1.4, 1.3.12
>
> 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)