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

Failover not working

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Incomplete
    • Affects Version/s: 5.14.5
    • Fix Version/s: None
    • Component/s: Connector, Transport
    • Labels:
      None
    • Environment:

      Unix

      Description

      Please refer http://activemq.2283324.n4.nabble.com/Active-MQ-Master-Slave-Config-Not-working-td4728550.html#a4728794 for more details

      When configured as Shared File System Master/Slave, the following two issues observed.

      1) When Master is down, Java clients using "failover:(tcp://master:port,tcp:/slave:port)" URL are not falling back / connecting to secondary. They are hanging / waiting for connection.
      If I use timeout like "failover:(tcp://master:port,tcp:/slave:port)?randomize=false&timeout=<timeout in ms>", if I use 1 mnt as timeout, I am getting error saying connection timeout when master is stopped/killed. If I use 5 mnts, it is again hanging.

      2) If the URL is "failover:(tcp://slave:port,tcp:/master:port)", it is hanging/waiting infinitely at connection.start();

      Please help.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              akpuvvada Anil P.
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: