From 722525d8d24c5c129d657d0711686239a69d4b6d Mon Sep 17 00:00:00 2001
From: sin <sin@localhost>
Date: Thu, 26 Mar 2009 04:14:21 +0000
Subject: [PATCH] raising flag day for changes in revision 5134

---
 opends/src/messages/messages/version.properties                         |   12 ++++++++++--
 opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java |   15 ++++++++++++++-
 2 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/opends/src/messages/messages/version.properties b/opends/src/messages/messages/version.properties
index 6fd2d35..b59130a 100644
--- a/opends/src/messages/messages/version.properties
+++ b/opends/src/messages/messages/version.properties
@@ -20,7 +20,7 @@
 #
 # CDDL HEADER END
 #
-#      Copyright 2006-2008 Sun Microsystems, Inc.
+#      Copyright 2006-2009 Sun Microsystems, Inc.
 
 
 
@@ -91,7 +91,7 @@
 INFO_3708_UPGRADE_11=This upgrade introduces a change in the backend \
  configuration that is not backwards compatible.  Upgrade is not possible
 INFO_3708_REVERSION_12=The revision 3294 introduces a change in the backend \
- configuration.  Revert is not possible 
+ configuration.  Revert is not possible
 INFO_3873_UPGRADE_13=This change introduces a change to the way in which \
  distinguished names are normalized.  In order to upgrade this server you \
  will have to export the data from this server and reimport it after the \
@@ -100,3 +100,11 @@
  distinguished names will be reverted to a prior version.  In order to \
  revert this server you will have to export the data from this server and \
  reimport it after the reversion has finished
+INFO_5134_UPGRADE_15=The revision 5134 introduces a change to the \
+ way in which certain matching rules normalize an attribute or assertion value. \
+ In order to upgrade this server you will have to export the data from \
+ this server and reimport it after the upgrade has finished
+INFO_5134_REVERSION_16=With this reversion the normalization of attribute \
+ or assertion value will be reverted to a prior version.  In order to revert this server \
+ you will have to export the data from this server and reimport it after the \
+ reversion has finished
diff --git a/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java b/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java
index 658f420..06bb85c 100644
--- a/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java
+++ b/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2007-2008 Sun Microsystems, Inc.
+ *      Copyright 2007-2009 Sun Microsystems, Inc.
  */
 
 package org.opends.server.util;
@@ -218,6 +218,17 @@
    */
   public enum Cause {
     /**
+     * Incompatible changes in attribute value normalization. This causes
+     * indexes to be invalidated.
+     */
+    STRINGPREP_NORMALIZATION_CHANGE_1(
+        8, // Unique ID.  See javadoc for more information.
+        INFO_5134_UPGRADE.get(),
+        INFO_5134_REVERSION.get(),
+        Effect.REVERSION_DATA_EXPORT_AND_REIMPORT_REQUIRED,
+        Effect.UPGRADE_DATA_EXPORT_AND_REIMPORT_REQUIRED),
+
+    /**
      * Incompatible changes in DN normalization. This causes dn2id and
      * RDN / DN syntax based attribute indexes to be invalidated.
      */
@@ -459,6 +470,8 @@
   //***************************************************
 
   static {
+    register(Cause.STRINGPREP_NORMALIZATION_CHANGE_1,
+            new BuildVersion(1,0,0,5134));
     register(Cause.DN_NORMALIZATION_CHANGE_1, new BuildVersion(1, 0, 0, 3873));
     register(Cause.BACKEND_CONFIGURATION_CHANGE_1,
         new BuildVersion(1, 0, 0, 3708));

--
Gitblit v1.10.0