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 2017/05/25 19:41:04 UTC

[jira] [Assigned] (OAK-3702) More resilient BackgroundThread implementation

     [ https://issues.apache.org/jira/browse/OAK-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Saurabh reassigned OAK-3702:
----------------------------------

    Assignee: Michael Dürig  (was: Vikas Saurabh)

> 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.0.32, 1.2.17, 1.3.12, 1.4
>
>         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.15#6346)