This closes #1421 ARTEMIS-1202 Fix interleave during replication sync

This commit is contained in:
Andy Taylor 2017-07-26 10:25:47 +01:00
commit e316c920b4
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ public final class ReplicationEndpoint implements ChannelHandler, ActiveMQCompon
this.channel = channel; this.channel = channel;
} }
private void finishSynchronization(String liveID) throws Exception { private synchronized void finishSynchronization(String liveID) throws Exception {
if (logger.isTraceEnabled()) { if (logger.isTraceEnabled()) {
logger.trace("BACKUP-SYNC-START: finishSynchronization::" + liveID); logger.trace("BACKUP-SYNC-START: finishSynchronization::" + liveID);
} }