From 6b3ef14a652f6be0d559365d2fd2c78a61524fec Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 17 Sep 2010 22:06:25 +0000
Subject: [PATCH] Minimize Historical Data (dsreplication/client side). The purge historical can be executed on the local server even when it is stopped. This is matches the functionality provided by utilities such import-ldif, backup, etc.

---
 opends/src/messages/messages/admin_tool.properties |   73 ++++++++++++++++++++++++++++++++++--
 1 files changed, 69 insertions(+), 4 deletions(-)

diff --git a/opends/src/messages/messages/admin_tool.properties b/opends/src/messages/messages/admin_tool.properties
index 44de812..6eb7b08 100644
--- a/opends/src/messages/messages/admin_tool.properties
+++ b/opends/src/messages/messages/admin_tool.properties
@@ -492,7 +492,7 @@
 INFO_DESCRIPTION_INITIALIZE_REPLICATION_SERVER_PORT_DESTINATION=Directory \
  server administration port number of the destination server whose contents will be initialized
 INFO_REPLICATION_TOOL_DESCRIPTION=This utility can be used to configure \
- replication between servers so that the data of the servers is synchronized.\
+ replication between servers so that the data of the servers is synchronized.  \
  For replication to work you must first enable replication using the \
  '%s' subcommand and then initialize the contents of one of \
  the servers with the contents of the other using the '%s' subcommand
@@ -546,6 +546,10 @@
  replication configuration of the base DN's of the servers defined in the \
  registration information.  If no base DN's are specified as parameter the \
  information for all base DN's is displayed
+INFO_DESCRIPTION_SUBCMD_PURGE_HISTORICAL=Launches a purge processing of the \
+ historical informations stored in the user entries by replication. Since this \
+ processing may take a while, you must specify the maximum duration for this \
+ processing.
 SEVERE_ERR_REPLICATION_NO_BASE_DN_PROVIDED=You must provide at least one base \
  DN in no interactive mode.
 SEVERE_ERR_REPLICATION_NO_ADMINISTRATOR_PASSWORD_PROVIDED=You must provide the \
@@ -657,9 +661,9 @@
 MILD_ERR_NO_SUFFIXES_AVAILABLE_TO_INITIALIZE_LOCAL_REPLICATION=There are no \
  base DN's replicated in the server.
 MILD_ERR_REPLICATION_DISABLE_SUFFIXES_NOT_FOUND=The following base DN's could \
- not be found on the server:%n%s
+ not be found in the server:%n%s
 MILD_ERR_REPLICATION_INITIALIZE_LOCAL_SUFFIXES_NOT_FOUND=The following base \
- DN's could not be found on the server:%n%s
+ DN's could not be found in the server:%n%s
 MILD_ERR_NO_SUFFIXES_SELECTED_TO_DISABLE=You must choose at least one \
  base DN to be disabled.
 MILD_ERR_NO_SUFFIXES_SELECTED_TO_INITIALIZE_ALL=You must choose at least one \
@@ -676,7 +680,7 @@
  also the replication server (changelog and replication port) to be disabled \
  you must also specify the '--%s' or '--%s' option.
 INFO_REPLICATION_DISABLE_ALL_SUFFIXES_DISABLE_REPLICATION_SERVER=You have \
- chosen to disable all the replicated base DN's on the server '%s'.  Do you \
+ chosen to disable all the replicated base DN's in the server '%s'.  Do you \
  want to disable also the replication port '%d'?
 INFO_DISABLE_REPLICATION_ONE_POINT_OF_FAILURE=You have decided to disable the \
  replication server (replication changelog).  After disabling the replication \
@@ -933,6 +937,7 @@
 INFO_REPLICATION_POST_EXTERNAL_INITIALIZATION_MENU_PROMPT=Post External \
  Initialization
 INFO_REPLICATION_STATUS_MENU_PROMPT=Display Replication Status
+INFO_REPLICATION_PURGE_HISTORICAL_MENU_PROMPT=Purge Historical
 INFO_REPLICATION_POST_ENABLE_INFO=Replication has been successfully enabled.  \
  Note that for replication to work you must initialize the contents of the \
  base DN's that are being replicated (use %s %s to do so).
@@ -2993,3 +2998,63 @@
 INFO_REQUIRED_ICON_ACCESSIBLE_DESCRIPTION=Required Icon.
 INFO_WARNING_ICON_ACCESSIBLE_DESCRIPTION=Warning Icon.
 INFO_ACCESSIBLE_TABLE_CELL_NAME=%s - Column %s
+INFO_ERROR_DURING_PURGE_HISTORICAL_NO_LOG=Unexpected error during \
+ the operation.  Task state: %s.  Check the error logs of %s for more \
+ information.
+INFO_ERROR_DURING_PURGE_HISTORICAL_LOG=Unexpected error during the \
+ operation.  Last log details: %s.  Task state: %s.  Check the error logs of \
+ %s for more information.
+SEVERE_ERR_POOLING_PURGE_HISTORICAL=Error reading the progress of \
+ the operation.
+INFO_PROGRESS_PURGE_HISTORICAL=Purging historical on base DNs:%s%s
+INFO_PROGRESS_PURGE_HISTORICAL_FINISHED_PROCEDURE=Purge of historical \
+ has been successfully completed
+MILD_ERR_HISTORICAL_CANNOT_BE_PURGED_ON_BASEDN=The following base DN's cannot \
+ be purged because they are not replicated.
+SEVERE_ERR_NO_SUFFIXES_AVAILABLE_TO_PURGE_HISTORICAL=There are no base DN's \
+ available to purge historical.
+MILD_ERR_REPLICATION_PURGE_SUFFIXES_NOT_FOUND=The following base DN's could \
+ not be found in the server:%n%s
+MILD_ERR_NO_SUFFIXES_SELECTED_TO_PURGE_HISTORICAL=You must choose at least one \
+ base DN to be purged from historical.
+INFO_REPLICATION_PURGE_HISTORICAL_PROMPT=Purge historical on base DN %s?
+INFO_REPLICATION_PURGE_HISTORICAL_MAXIMUM_DURATION_PROMPT=Maximum duration for \
+ the historical purge in seconds?
+SEVERE_ERR_LAUNCHING_PURGE_HISTORICAL=Error launching the operation.
+INFO_REPLICATION_PURGE_HISTORICAL_LOCAL_PROMPT=Do you want to execute the \
+ purge on the local server (which is stopped)?
+INFO_REPLICATION_PURGE_HISTORICAL_LOCAL_ENVIRONMENT=Initializing environment \
+ for purge historical
+INFO_REPLICATION_PURGE_HISTORICAL_LOCAL_STARTING=Purging historical started.
+SEVERE_ERR_REPLICATION_PURGE_HISTORICAL_TIMEOUT=The specified maximum time of \
+ %d seconds was elapsed before the purge historical completed.
+SEVERE_ERR_REPLICATION_PURGE_HISTORICAL_EXECUTING=An error occurred executing \
+ the purge historical.  Details: %s.%nYou can check the error logs of the \
+ local server for more information.
+INFO_RUN_TASK_NOW=Launch now
+INFO_RUN_TASK_LATER=Launch later
+INFO_SCHEDULE_TASK=Schedule to run the task periodically
+INFO_TASK_FAILED_DEPENDENCY_ACTION_PROMPT=Which action must this task take if \
+ one if its dependent tasks fails?
+INFO_TASK_HAS_DEPENDENCIES_PROMPT=Has this task a dependency on another task?
+INFO_TASK_DEPENDENCIES_PROMPT=ID of the tasks this task depends on [continue]:
+INFO_HAS_ERROR_NOTIFICATION_PROMPT=Do you want to send an email notification \
+ if this task fails?
+INFO_ERROR_NOTIFICATION_PROMPT=Email addresses to send the error notification \
+ to [continue]:
+MILD_ERR_INVALID_EMAIL_ADDRESS=The value '%s' is not a valid email address.
+INFO_HAS_COMPLETION_NOTIFICATION_PROMPT=Do you want to send an email \
+ notification when this task completes?
+INFO_COMPLETION_NOTIFICATION_PROMPT=Email addresses to send the completion \
+ notification to [continue]:
+INFO_TASK_SCHEDULE_PROMPT=Specify when the task '%s' will be launched.
+INFO_TASK_START_DATE_PROMPT=Launch date (in YYYYMMDDhhmmssZ or YYYYMMDDhhmmss \
+ format):
+INFO_TASK_RECURRING_SCHEDULE_PROMPT=Periodical schedule when the \
+ task must run (in crontab(5) format):
+INFO_PURGE_HISTORICAL_TASK_NAME=Purge historical
+INFO_TASK_SCHEDULE_PROMPT_HEADER=>>>> Specify task scheduling parameters
+SEVERE_ERR_DEPENDENCY_TASK_NOT_DEFINED=There is no task with ID '%s' in the \
+ server.
+INFO_AVAILABLE_DEFINED_TASKS=The available defined tasks are:%s
+

--
Gitblit v1.10.0