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

Tanuj Khurana resolved PHOENIX-7960.
------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>
> 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)

Reply via email to