3 Replies Latest reply on Jun 19, 2015 6:58 AM by Stephan Prätsch

    HornetQ Failback does not always work

    Stephan Prätsch Newbie

      Hi there,

       

      I use hornetq-2.4.0.Final (2.5.0.SNAPSHOT) and I setup 3 servers

      • instance0 as live
      • instance1 as backup
      • instance2 as backup

      I want always instance0 as live when it runs, thus <allow-failback>true</allow-failback> in each hornetq-configuration.xml

      Nevertheless it not always runs that way

       

      commandinstance0instance1instance2
      start instance0livexx
      start instance1livebackupx
      start instance2livebackupwaiting
      stop instance0xlivebackup
      start instance0waitinglivebackup
      stop instance1backupxlive
      some time laterlivexbackup

       

      instance0 logs just before waiting

      10:05:30,753 INFO  [org.hornetq.core.server] HQ221109: HornetQ Backup Server version 2.5.0.SNAPSHOT (Wild Hornet, 124) [null] started, waiting live to fail before it gets active 

       

      Why does not instance0 go back as live while instance1 is still running?

       

      Regards

      Stephan