[
https://issues.apache.org/jira/browse/TEPHRA-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460314#comment-16460314
]
ASF GitHub Bot commented on TEPHRA-267:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-tephra/pull/73
> 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)