activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Tsigelnik (JIRA)" <>
Subject [jira] Commented: (AMQ-1832) Pure Master/Slave to allow shutdownOnSlaveFailure to be configured on master
Date Mon, 14 Jul 2008 19:56:00 GMT


Dmitry Tsigelnik commented on AMQ-1832:

No. I want to use the same configuration as yours: Master A / Slave B <=> Master B /
Slave A
But if you shutdown master which loose connection to slave that means some messages which
is contained by current master  won't relocated to another master in time.

I think better solution is full replication of master's sate  at the moment of attaching slave
to master. Also slave musn't shutdown on loosing connection to master, becasue it's possible
network solution. Slave must retry to reconnect to master fo example in current of hour and
then shutdown.

It's too hard to our operations team restart ActiveMQ server each time when network is down.
Unfortunely, network problems happen very quikly. Sometimes electricity is down in all datacenter...

I think master must keep working when slave is disconnected. I derrived slave BrokerService
and added reconnection logic. Problem for me is master state is not fully replicated on attaching
I think, shutdowning master is bad solution

> Pure Master/Slave to allow shutdownOnSlaveFailure to be configured on master
> ----------------------------------------------------------------------------
>                 Key: AMQ-1832
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Improvement
>            Reporter: ying
>         Attachments: AMQ1832-596-1820Patch.txt
> It is related to AMQ-596 in terms that it is desirable that master and slave are in synch
and when both are down, failover can direct the job to other pair of master/slave. So pure
master/slave can be used for replication while a network of pair (master/slave) will provide
a HA service. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message