activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khandelwalanuj <khandelwal.anu...@gmail.com>
Subject LevelDB replication configuration for two broker nodes with "replicas=1"
Date Wed, 03 Dec 2014 05:49:47 GMT
Hi,

If I specify "replica=1" in the replicated leveldb configuration; one node
can become the master even if other nodes are down. And other nodes will
replicate from master once they come up. I have couple of questions for this
configuration. 

1. Here replicas = 1: The master will store the update locally and report
success OR does master wait for quorum of the slaves to replicate before
reporting the success.

2. I am trying to use the  above mentioned configuration(replica=1) for two
broker nodes. So that clients can communicate to one broker even if other
goes down. Is it the recommended way to use this configuration? Can I run
two broker nodes with replica=1 config. Any side effect of running two
nodes. ? 

Please help me in this. I am stuck in my work. 

Thanks,
Anuj 
 



--
View this message in context: http://activemq.2283324.n4.nabble.com/LevelDB-replication-configuration-for-two-broker-nodes-with-replicas-1-tp4688303.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message