Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3259

Race condition on terminating recovery manager and socket call when scanning is underway

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.10.3.Final
    • Fix Version/s: 5.10.5.Final
    • Component/s: Recovery
    • Labels:
      None

      Description

      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).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ochaloup Ondrej Chaloupka
                Reporter:
                ochaloup Ondrej Chaloupka
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: