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

Boolean state flags in Failover transport should be volatile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.14.1
    • 5.15.0, 5.14.2
    • JMS client
    • None

    Description

      The Failover transport reconnect task looks at the started / disposed / shuttingDown flags to check if it should terminate but that value is read outside any locks and is not volatile leading to missing the not-started state.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: