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

clebert suconic closed ARTEMIS-665.
-----------------------------------
    Resolution: Won't Fix

it's not safe to do this. We need a current copy of what is on live.

> Optimize master/slave replication after failback - slave does not have to 
> resync journal from master after failback 
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-665
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-665
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 1.3.0
>            Reporter: Miroslav Novak
>
> If there is master-slave pair with replicated journal and master is killed 
> then slave activates and all clients failover to slave. 
> If fail-back is enabled and master is started again then master will copy 
> journal from slave before it will activate and failback happens. So far good. 
> Problem is that once master activates then slave restart itself and starts to 
> replicate the whole journal from master again. Throwing away it's original 
> journal which just replicated to master. This is inefficiency and takes 
> network resources. 
> The improvement should be that slave will not throw away it's "up-to-date" 
> journal and once master activates, it will just continue to replicate from 
> master. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to