[
https://issues.apache.org/jira/browse/OAK-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vikas Saurabh updated OAK-3702:
-------------------------------
Attachment: OAK-3702.1.2.patch
OAK-3702.1.0.patch
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)