[ 
https://issues.apache.org/jira/browse/ARTEMIS-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15302199#comment-15302199
 ] 

clebert suconic commented on ARTEMIS-541:
-----------------------------------------

We always reuse the files... so it's not easy to do that...
if the files were immutable it would be easier. 

if we made files immutable (or rename the files), maybe it would be possible, 
but then we would impose runtime changes over something that rarely happens.

> Optimize live/backup replication after failback
> -----------------------------------------------
>
>                 Key: ARTEMIS-541
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-541
>             Project: ActiveMQ Artemis
>          Issue Type: New Feature
>          Components: Broker
>    Affects Versions: 1.3.0
>            Reporter: Miroslav Novak
>
> Currently if there is master/slave pair configured using replicated journal 
> then after each failback when master is starting, it copies the whole journal 
> directory from slave.
> This seems to ineffective as master might have significant part of backups 
> journal before it failed. 
> If only differences between journals would be transfered then it would be 
> effective especially in case when failback is completed and master starts to 
> synchronize the whole journal back to slave. It copies the whole journal to 
> backup again which is almost the same. This would greatly speed up 
> synchronization of slave and safe network bandwidth.



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

Reply via email to