From b9aad30c9e07b179a2c22fad830f6a54b8993bc9 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Wed, 18 Aug 2010 13:27:32 +0000
Subject: [PATCH] First pass on solving issue #514, reducing Replication meta data, especially aged information. The default is to keep the replication meta data (historical information) for at least 1 day. Purging occurs on the fly when entries are modified, or via a task. Launching the task will be available through dsreplication in separate commit.
---
opends/src/server/org/opends/server/config/ConfigConstants.java | 43 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/config/ConfigConstants.java b/opends/src/server/org/opends/server/config/ConfigConstants.java
index 392e068..7e1b388 100644
--- a/opends/src/server/org/opends/server/config/ConfigConstants.java
+++ b/opends/src/server/org/opends/server/config/ConfigConstants.java
@@ -4370,5 +4370,48 @@
*/
public static final String ATTR_IMPORT_CLEAR_BACKEND =
NAME_PREFIX_TASK + "import-clear-backend";
+
+ /**
+ * The name of the attribute in a purge conflicts historical task definition
+ * that specifies the base dn related to the synchonization domain to purge.
+ */
+ public static final String ATTR_TASK_CONFLICTS_HIST_PURGE_DOMAIN_DN =
+ NAME_PREFIX_TASK + "purge-conflicts-historical-domain-dn";
+
+ /**
+ * The name of the attribute in a purge conflicts historical task definition
+ * that specifies the maximum duration of the task.
+ */
+ public static final String ATTR_TASK_CONFLICTS_HIST_PURGE_MAX_DURATION =
+ NAME_PREFIX_TASK + "purge-conflicts-historical-maximum-duration";
+
+ /**
+ * The name of the attribute in a purge conflicts historical task definition
+ * that specifies the maximum duration of the task.
+ */
+ public static final String ATTR_TASK_CONFLICTS_HIST_PURGE_FIRST_CN =
+ NAME_PREFIX_TASK + "purge-conflicts-historical-first-purged-changenumber";
+
+ /**
+ * The name of the attribute in a purge conflicts historical task definition
+ * that specifies the maximum duration of the task.
+ */
+ public static final String ATTR_TASK_CONFLICTS_HIST_PURGE_LAST_CN =
+ NAME_PREFIX_TASK + "purge-conflicts-historical-last-purged-changenumber";
+
+ /**
+ * The name of the attribute in a purge conflicts historical task definition
+ * that specifies the maximum duration of the task.
+ */
+ public static final String ATTR_TASK_CONFLICTS_HIST_PURGE_COMPLETED_IN_TIME =
+ NAME_PREFIX_TASK + "purge-conflicts-historical-purge-completed-in-time";
+
+ /**
+ * The name of the attribute in a purge conflicts historical task definition
+ * that specifies the maximum duration of the task.
+ */
+ public static final String ATTR_TASK_CONFLICTS_HIST_PURGE_COUNT =
+ NAME_PREFIX_TASK + "purge-conflicts-historical-purged-values-count";
+
}
--
Gitblit v1.10.0