From 4752e264607ac01695f6644d71f21cf409de6064 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Tue, 29 Sep 2009 13:15:21 +0000
Subject: [PATCH] Fix for issue 4252 : Replication failures between OpenDS 2.0 and 2.1
---
opends/src/server/org/opends/server/replication/service/ReplicationBroker.java | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/service/ReplicationBroker.java b/opends/src/server/org/opends/server/replication/service/ReplicationBroker.java
index fbc1776..cfd8337 100644
--- a/opends/src/server/org/opends/server/replication/service/ReplicationBroker.java
+++ b/opends/src/server/org/opends/server/replication/service/ReplicationBroker.java
@@ -524,7 +524,11 @@
startSameGroupIdPoller();
}
startRSHeartBeatMonitoring();
- startChangeTimeHeartBeatPublishing();
+ if (replServerStartMsg.getVersion()
+ >= ProtocolVersion.REPLICATION_PROTOCOL_V3)
+ {
+ startChangeTimeHeartBeatPublishing();
+ }
} else
{
// Detected new RS with our group id: log disconnection to
--
Gitblit v1.10.0