Poorna Chandra created TEPHRA-267:
-------------------------------------
Summary: 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
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
(v6.4.14#64029)