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

Andrew Kyle Purtell updated PHOENIX-7960:
-----------------------------------------
    Fix Version/s: PHOENIX-7562-feature
                   5.4.0

> 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
>             Fix For: PHOENIX-7562-feature, 5.4.0
>
>
> 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