Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4897

Race condition in failover transport

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Pending Closed
    • 5.9.0
    • 5.9.1, 5.10.0, 5.12.0
    • None
    • None

    Description

      There's a small chance of the race condition when using priority backup with extremely small reconnect delay (0). In that case, the failover transport will get into inconsistent state. The client will stay connected to the "non-priority" broker, but the priority backup will not be created due to this inconsistency.

      The solution is to synchronise handling of connection failure with the reconnect mutex.

      Attachments

        Activity

          People

            gtully Gary Tully
            dejanb Dejan Bosanac
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: