ARTEMIS-1303 Fix interleave during replication sync

(cherry picked from commit 69f8263267)
This commit is contained in:
Martyn Taylor 2017-07-12 12:29:48 +01:00
parent 3ae55c0680
commit b691fabe21
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,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);
} }