From 13819a2e81db0422a7c8c186f838c7b243173170 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 03 Sep 2014 06:30:37 +0000
Subject: [PATCH] OPENDJ-1205 (CR-4428) Remove network layer from External ChangeLog implementation
---
opends/src/server/org/opends/server/replication/protocol/ReplicationMsg.java | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/protocol/ReplicationMsg.java b/opends/src/server/org/opends/server/replication/protocol/ReplicationMsg.java
index 3fef9a1..d9ab381 100644
--- a/opends/src/server/org/opends/server/replication/protocol/ReplicationMsg.java
+++ b/opends/src/server/org/opends/server/replication/protocol/ReplicationMsg.java
@@ -71,8 +71,11 @@
static final byte MSG_TYPE_GENERIC_UPDATE = 29;
// Added for protocol version 3
+ @Deprecated
static final byte MSG_TYPE_START_ECL = 30;
+ @Deprecated
static final byte MSG_TYPE_START_ECL_SESSION = 31;
+ @Deprecated
static final byte MSG_TYPE_ECL_UPDATE = 32;
static final byte MSG_TYPE_CT_HEARTBEAT = 33;
@@ -190,11 +193,12 @@
case MSG_TYPE_GENERIC_UPDATE:
return new UpdateMsg(buffer);
case MSG_TYPE_START_ECL:
- return new ServerStartECLMsg(buffer);
case MSG_TYPE_START_ECL_SESSION:
- return new StartECLSessionMsg(buffer);
case MSG_TYPE_ECL_UPDATE:
- return new ECLUpdateMsg(buffer);
+ // Legacy versions never sent such messages to other instances (other JVMs).
+ // They were only used in the combined DS-RS case.
+ // It is safe to totally ignore these values since code now uses the ChangelogBackend.
+ return null;
case MSG_TYPE_CT_HEARTBEAT:
return new ChangeTimeHeartbeatMsg(buffer, protocolVersion);
case MSG_TYPE_REPL_SERVER_START_DS:
--
Gitblit v1.10.0