From 76ebd1ad82e2a1fc421519f09c62b948e9376e8a Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Tue, 06 Oct 2009 12:34:32 +0000
Subject: [PATCH] Entry attributes for ECL - Protocol V4

---
 opends/src/server/org/opends/server/replication/protocol/ProtocolVersion.java |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/protocol/ProtocolVersion.java b/opends/src/server/org/opends/server/replication/protocol/ProtocolVersion.java
index 042f5a2..997267d 100644
--- a/opends/src/server/org/opends/server/replication/protocol/ProtocolVersion.java
+++ b/opends/src/server/org/opends/server/replication/protocol/ProtocolVersion.java
@@ -43,15 +43,24 @@
   public static final short REPLICATION_PROTOCOL_V1_REAL = 49;
   /**
    * The constant for the second version of the replication protocol.
+   * Add fields in the header for assured replication.
    */
   public static final short REPLICATION_PROTOCOL_V2 = 2;
 
   /**
    * The constant for the 3rd version of the replication protocol.
+   * Add messages for remote ECL : not used as of today.
    */
   public static final short REPLICATION_PROTOCOL_V3 = 3;
 
   /**
+   * 4th version of the replication protocol.
+   * Add to the body of the ADD/MOD/MODDN/DEL msgs, a list of attribute for
+   * ECL entry attributes.
+   */
+  public static final short REPLICATION_PROTOCOL_V4 = 4;
+
+  /**
    * The replication protocol version used by the instance of RS/DS in this VM.
    */
   private static short currentVersion = -1;
@@ -86,7 +95,7 @@
    */
   public static void resetCurrentVersion()
   {
-    currentVersion = REPLICATION_PROTOCOL_V3;
+    currentVersion = REPLICATION_PROTOCOL_V4;
   }
 
   /**

--
Gitblit v1.10.0