[jbossts-issues] [JBoss JIRA] (JBTM-3259) Race condition on terminating recovery manager and socket call when scanning is underway
Ondrej Chaloupka (Jira)
issues at jboss.org
Tue Mar 10 10:45:50 EDT 2020
[ https://issues.redhat.com/browse/JBTM-3259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ondrej Chaloupka updated JBTM-3259:
-----------------------------------
Git Pull Request: https://github.com/jbosstm/narayana/pull/1561
> Race condition on terminating recovery manager and socket call when scanning is underway
> ----------------------------------------------------------------------------------------
>
> Key: JBTM-3259
> URL: https://issues.redhat.com/browse/JBTM-3259
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Recovery
> Affects Versions: 5.10.3.Final
> Reporter: Ondrej Chaloupka
> Assignee: Ondrej Chaloupka
> Priority: Major
> Fix For: 5.next
>
>
> There is a race condition which causes a recovery to be stuck.
> This happens at time when recovery manager is running and there is a try to run a socket {{SCAN}} command or a {{RecoveryDriver}} api is about to use to start scan.
> When the recovery manager is terminated then it can happen that the {{Listnener}} asks for scan to be done, then recovery manager is terminated and the Listener then stops waiting forever.
> At that time there is already terminated recovery manager and Listener just waits for being notified that scan finished (we talk about {{SYNC}} call).
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jbossts-issues
mailing list