mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
23.05.2012 a919754466d5d1887403c8fd8fe918a61a9c52c4
Add flag day for fix OPENDJ-410: Frequent corruption in ds-sync-hist ordering index

Flag day based on version 2.4.5 / 7635.
2 files modified
29 ■■■■■ changed files
opends/src/messages/messages/version.properties 9 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java 20 ●●●●● patch | view | raw | blame | history
opends/src/messages/messages/version.properties
@@ -21,6 +21,7 @@
# CDDL HEADER END
#
#      Copyright 2006-2009 Sun Microsystems, Inc.
#      Portions copyright 2012 ForgeRock AS.
@@ -110,3 +111,11 @@
 reversion has finished
INFO_5278_REVERSION_17=Reversion from version 2.0 to a previous version is \
not supported
INFO_7635_UPGRADE_18=The revision 7635 introduces a change to the \
 way in which the 'ds-sync-hist' attribute is normalized for indexing. \
 In order to complete the upgrade of this server you will have to manually \
 rebuild the 'ds-sync-hist' attribute index after the upgrade has finished
INFO_7635_REVERSION_19=With this reversion the normalization of the \
 'ds-sync-hist' attribute will be reverted to the prior version. In order to \
 complete the reversion of this server you will need to start the server and \
 then perform an online rebuild of the 'ds-sync-hist' index
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));