From cb1764c099ee02d751f762cca44730a33243558c Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 29 Jan 2008 17:54:18 +0000
Subject: [PATCH] Fix for issue 2880 (Suffix data "disappearance" after upgrade)

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

diff --git a/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java b/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java
index e467eb0..31b0bc8 100644
--- a/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java
+++ b/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java
@@ -218,6 +218,17 @@
    */
   public enum Cause {
     /**
+     * Incompatible changes in the backend configuration (the db directory
+     * attribute has been modified).
+     */
+    BACKEND_CONFIGURATION_CHANGE_1(
+        6, // Unique ID.  See javadoc for more information.
+        INFO_3708_UPGRADE.get(),
+        INFO_3708_REVERSION.get(),
+        Effect.REVERSION_NOT_POSSIBLE,
+        Effect.UPGRADE_NOT_POSSIBLE),
+
+    /**
      * Incompatible changes in the cryptomanager and specially in the way
      * replication works.  These changes were committed on several revisions
      * and the flagday that has been chosen corresponds to revision 3294
@@ -438,6 +449,8 @@
 
   static {
     //
+    register(Cause.BACKEND_CONFIGURATION_CHANGE_1,
+        new BuildVersion(1, 0, 0, 3708));
     register(Cause.REPLICATION_SECURITY_CHANGE_1,
         new BuildVersion(1, 0, 0, 3294));
     register(Cause.PROPERTY_CHANGE_1, new BuildVersion(1, 0, 0, 3053));

--
Gitblit v1.10.0