Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-2722

Slave Failover not working when the master is hung

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • AMQ 7.4.0.GA
    • broker-core
    • None
    • Hide

      1. Master/Slave is running as expected.
      2. The master is put into hung state using kill -STOP <<pid>>
      3. The slave does not failover after a connection failure

      Show
      1. Master/Slave is running as expected. 2. The master is put into hung state using kill -STOP <<pid>> 3. The slave does not failover after a connection failure

    Description

      Slave Failover not working when the master is hung

      #Slave logs

      2019-08-01 16:18:55,015 INFO  [org.apache.activemq.artemis.core.server] AMQ221031: backup announced
      2019-08-01 16:20:52,781 WARN  [org.apache.activemq.artemis.core.client] AMQ212037: Connection failure has been detected: AMQ219011: Did not receive data from server for org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnection@3f198373[ID=3eceb0c1, local= /127.0.0.1:54144, remote=localhost/127.0.0.1:61616] [code=CONNECTION_TIMEDOUT]
      2019-08-01 16:20:52,793 WARN  [org.apache.activemq.artemis.core.client] AMQ212037: Connection failure has been detected: AMQ219011: Did not receive data from server for org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnection@62f5efdd[ID=c051d9fd, local= /127.0.0.1:54148, remote=localhost/127.0.0.1:61616] [code=CONNECTION_TIMEDOUT]
      2019-08-01 16:20:55,014 WARN  [org.apache.activemq.artemis.core.client] AMQ212037: Connection failure has been detected: AMQ219011: Did not receive data from server for org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnection@1a5e9984[ID=a29127a8, local= /127.0.0.1:54160, remote=localhost/127.0.0.1:61616] [code=CONNECTION_TIMEDOUT]
      2019-08-01 16:21:22,783 WARN  [org.apache.activemq.artemis.core.client] AMQ212037: Connection failure has been detected: AMQ219014: Timed out after waiting 30,000 ms for response when sending packet -4 [code=CONNECTION_TIMEDOUT]
      2019-08-01 16:21:22,796 WARN  [org.apache.activemq.artemis.core.client] AMQ212037: Connection failure has been detected: AMQ219014: Timed out after waiting 30,000 ms for response when sending packet -4 [code=CONNECTION_TIMEDOUT]
      

      Attachments

        Activity

          People

            rh-ee-ataylor Andy Taylor
            rhn-support-shsingh Shailendra Singh
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: