You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tephra.apache.org by "Poorna Chandra (JIRA)" <ji...@apache.org> on 2018/05/01 23:49:00 UTC

[jira] [Resolved] (TEPHRA-267) ReferenceCountedSupplier hangs during release when Error is thrown during startup

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

Poorna Chandra resolved TEPHRA-267.
-----------------------------------
    Resolution: Fixed

> ReferenceCountedSupplier hangs during release when Error is thrown during startup
> ---------------------------------------------------------------------------------
>
>                 Key: TEPHRA-267
>                 URL: https://issues.apache.org/jira/browse/TEPHRA-267
>             Project: Tephra
>          Issue Type: Bug
>          Components: core
>            Reporter: Poorna Chandra
>            Assignee: Poorna Chandra
>            Priority: Major
>             Fix For: 0.14.0-incubating
>
>
> ReferenceCountedSupplier saves the reference to the service being started and then starts it. If the startup throws an Error then the failed service is stored, and then other clients also use the failed service since the reference is not null. During shutdown, the failed service will be stopped which can lead to the stop thread hanging (due to Guava not setting the service in failed state when Error is thrown)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)