You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christopher L. Shannon (JIRA)" <ji...@apache.org> on 2017/02/06 14:28:42 UTC

[jira] [Closed] (AMQ-5947) Use replicated levelDB store,broker cannot elect a master

     [ https://issues.apache.org/jira/browse/AMQ-5947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher L. Shannon closed AMQ-5947.
---------------------------------------
    Resolution: Won't Fix

LevelDB has been deprecated and is no longer supported.

> Use replicated levelDB store,broker cannot elect a master
> ---------------------------------------------------------
>
>                 Key: AMQ-5947
>                 URL: https://issues.apache.org/jira/browse/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:
> {code:xml}
> <replicatedLevelDB directory="/amq_data/leveldb" replicas="3" bind="tcp://0.0.0.0:0" zkAddress="192.168.1.105:2181" zkPath="/activemq/leveldb-stores" hostname="192.168.1.101" weight="1"/>
> {code}
> And I have 3 replicas(192.168.1.101、192.168.1.102、192.168.1.103),  and then each start 3 nodes, it's working properly!  
> But when I started  the iptables of zookeeper(192.168.1.105),simulate
>  network interruption. I got many "NoRouteToHostException" with 3 broker,  and the master borker was shutdown.
> When I run "service iptables stop" on zookeeper(192.168.1.105) ,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
(v6.3.15#6346)