[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
Fri Feb 21 07:33:00 EST 2020


Ondrej Chaloupka created JBTM-3259:
--------------------------------------

             Summary: 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
            Reporter: Ondrej Chaloupka
            Assignee: Ondrej Chaloupka


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