From 459796336f95d56450c970b87575f22c871b4604 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 10 Jun 2011 14:34:10 +0000
Subject: [PATCH] Partial fix for OPENDJ-194: Minor improvements to change log content and configuration

---
 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 3b6912e..2c95416 100644
--- a/opends/src/server/org/opends/server/replication/protocol/ProtocolVersion.java
+++ b/opends/src/server/org/opends/server/replication/protocol/ProtocolVersion.java
@@ -23,6 +23,7 @@
  *
  *
  *      Copyright 2006-2010 Sun Microsystems, Inc.
+ *      Portions Copyright 2011 ForgeRock AS
  */
 package org.opends.server.replication.protocol;
 
@@ -66,6 +67,14 @@
   public static final short REPLICATION_PROTOCOL_V4 = 4;
 
   /**
+   * The constant for the 5th version of the replication protocol.
+   * - Add support for wild-cards in change log included attributes
+   * - Add support for specifying additional included attributes for deletes
+   * - See OPENDJ-194.
+   */
+  public static final short REPLICATION_PROTOCOL_V5 = 5;
+
+  /**
    * The replication protocol version used by the instance of RS/DS in this VM.
    */
   private static short currentVersion = -1;
@@ -100,7 +109,7 @@
    */
   public static void resetCurrentVersion()
   {
-    currentVersion = REPLICATION_PROTOCOL_V4;
+    currentVersion = REPLICATION_PROTOCOL_V5;
   }
 
   /**

--
Gitblit v1.10.0