From a919754466d5d1887403c8fd8fe918a61a9c52c4 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 23 Jan 2012 15:05:50 +0000
Subject: [PATCH] Add flag day for fix OPENDJ-410: Frequent corruption in ds-sync-hist ordering index

---
 opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java b/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java
index 2b3fea2..e08b7ee 100644
--- a/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java
+++ b/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java
@@ -23,7 +23,7 @@
  *
  *
  *      Copyright 2007-2009 Sun Microsystems, Inc.
- *      Portions Copyright 2011 ForgeRock AS
+ *      Portions Copyright 2011-2012 ForgeRock AS
  */
 
 package org.opends.server.util;
@@ -218,6 +218,19 @@
    * or more versions of the OpenDJ codebase.
    */
   public enum Cause {
+
+    /**
+     * Incompatible changes in ds-sync-hist normalization. This causes
+     * ds-sync-hist attribute indexes to be invalidated.
+     */
+    DS_SYNC_HIST_NORMALIZATION_CHANGE_1(
+        10, // Unique ID.  See javadoc for more information.
+        INFO_7635_UPGRADE.get(),
+        INFO_7635_REVERSION.get(),
+        Effect.REVERSION_MANUAL_ACTION_REQUIRED,
+        Effect.UPGRADE_MANUAL_ACTION_REQUIRED),
+
+
     /**
      * We not support the revert to the previous version.
      */
@@ -481,7 +494,10 @@
   //
   //***************************************************
 
-  static {
+  static
+  {
+    register(Cause.DS_SYNC_HIST_NORMALIZATION_CHANGE_1, new BuildVersion(2, 4,
+        5, 7635));
     register (Cause.REVERT_NOT_SUPPORTED_1, new BuildVersion(2,0,0,5278));
     register(Cause.STRINGPREP_NORMALIZATION_CHANGE_1,
             new BuildVersion(1,2,0,5134));

--
Gitblit v1.10.0