From b48ce50fdf4d73e8be3799e3a7c6c2bf9d1b2965 Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Sun, 02 Sep 2007 17:58:07 +0000
Subject: [PATCH] fix for #1733 & #845 - Initialization of replication

---
 opends/src/server/org/opends/server/config/ConfigConstants.java |   24 +++++++++++++++++++++++-
 1 files changed, 23 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/config/ConfigConstants.java b/opends/src/server/org/opends/server/config/ConfigConstants.java
index 592f63f..ea43bf3 100644
--- a/opends/src/server/org/opends/server/config/ConfigConstants.java
+++ b/opends/src/server/org/opends/server/config/ConfigConstants.java
@@ -1335,12 +1335,19 @@
   public static final String ATTR_MATCHING_RULE_USE_LC = "matchingruleuse";
 
   /**
-   * The name of the attribute that holds the sycnhronization state,
+   * The name of the attribute that holds the synchronization state,
    * formatted in lowercase.
    */
   public static final String ATTR_SYNCHRONIZATION_STATE_LC = "ds-sync-state";
 
   /**
+   * The name of the attribute that holds the relication generationId,
+   * formatted in lowercase.
+   */
+  public static final String ATTR_SYNCHRONIZATION_GENERATIONID_LC =
+       "ds-sync-generation-id";
+
+  /**
    * The default maximum request size that should be used if none is specified
    * in the configuration.
    */
@@ -4248,6 +4255,21 @@
        NAME_PREFIX_TASK + "rebuild-max-threads";
 
   /**
+   * The name of the objectclass that will be used for a Directory Server
+   * reset generationId task definition.
+   */
+  public static final String OC_RESET_GENERATION_ID_TASK =
+       NAME_PREFIX_TASK + "reset-generation-id";
+
+
+  /**
+   * The name of the attribute containing the baseDn related to the replication
+   * domain to which applies the task.
+   */
+  public static final String ATTR_TASK_SET_GENERATION_ID_DOMAIN_DN =
+    OC_RESET_GENERATION_ID_TASK + "-domain-base-dn";
+
+  /**
    * The name of the attribute in an import task definition that specifies
    * whether the backend should be cleared before the import.
    */

--
Gitblit v1.10.0