activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angus.aqlu (JIRA)" <>
Subject [jira] [Created] (AMQ-5947) Use replicated levelDB store,broker cannot elect a master
Date Wed, 26 Aug 2015 08:34:45 GMT
angus.aqlu created AMQ-5947:

             Summary: Use replicated levelDB store,broker cannot elect a master
                 Key: AMQ-5947
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.10.2
         Environment: java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

Centos 6.5

            Reporter: angus.aqlu

I used replicated levelDB store, Configured as follows:
<replicatedLevelDB directory="/amq_data/leveldb" replicas="3" bind="tcp://" zkAddress=""
zkPath="/activemq/leveldb-stores" hostname="" weight="1"/>

And I have 3 replicas(、、,  and then each start
3 nodes, it's working properly!  

But when I started  the iptables of zookeeper(,simulate
 network interruption. I got many "NoRouteToHostException" with 3 broker,  and the master
borker was shutdown.

When I run "service iptables stop" on zookeeper( ,the remaining two nodes
do not have to re elect the master broker,  Is this a bug?
thanks a lot!

This message was sent by Atlassian JIRA

View raw message