Tanuj Khurana created PHOENIX-7960:
--------------------------------------
Summary: ReplicationLogGroup.close() racing init() can swallow the
disruptor halt alert, leaking the writer
Key: PHOENIX-7960
URL: https://issues.apache.org/jira/browse/PHOENIX-7960
Project: Phoenix
Issue Type: Sub-task
Reporter: Tanuj Khurana
Assignee: Tanuj Khurana
A ReplicationLogGroup.close() that immediately follows init() can halt() the
disruptor before its consumer thread has entered BatchEventProcessor.run().
run()'s opening clearAlert() then wipes the alert raised by halt(), the wait
loop parks forever, and onShutdown() never runs — so the underlying
ReplicationLogWriter is never closed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)