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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 5.10.3.Final
    • 5.10.5.Final
    • Recovery
    • 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).

      Attachments

        Activity

          People

            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: