ReplicationFixes

This commit is contained in:
tolgakavukcuevam
2016-01-20 16:15:43 +02:00
parent bc2aaf0854
commit a21265ef4a
2 changed files with 262 additions and 10 deletions
@@ -650,11 +650,12 @@ final class TcpReplicator<K, V> extends AbstractChannelReplicator implements Clo
LOG.debug("handshaking for localIdentifier=" + localIdentifier + "," +
"remoteIdentifier=" + remoteIdentifier);
long timeStampOfLastMessage = replica.lastModificationTime(remoteIdentifier);
attached.remoteModificationIterator =
replica.acquireModificationIterator(remoteIdentifier);
attached.remoteModificationIterator.setModificationNotifier(attached);
long timeStampOfLastMessage = replica.lastModificationTime(remoteIdentifier);
writer.writeRemoteBootstrapTimestamp(timeStampOfLastMessage);
writer.writeServerVersion();