[ https://issues.apache.org/jira/browse/TEPHRA-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Poorna Chandra updated TEPHRA-267: ---------------------------------- Comment: was deleted (was: Also - Transaction state cache stop should wait for the refresh thread to stop.) > 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)