From 7eda83737e5c2a09bef758ac2bcd3b7ea8b32ce3 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Wed, 20 Jun 2007 18:27:41 +0000
Subject: [PATCH] This refactoring includes the following changes to the JE backend: - Extracted common interface DatabaseContainer from DN2ID, ID2Entry, etc... classes. - Moved database read and write methods from EntryContainer to DatabaseContainer. - Added index configuration to the XML based admin framework. - Removed redundant configuration objects (Config, IndexConfig). - Added exclusive/shared lock to EntryContainer. All access to an EntryContainer must acquire a lock before using the internal DatabaseContainers or making configuration changes. - Added the ability to add/remove/modify indexes with the backend online. Server will issue rebuild required warning when adding new indexes or sub-indexes (equality, substring, presence...). - Added the ability to change the index entry limit for both the backend and each index with the backend online. Server will issue rebuild required warning if the previous limit has been exceeded. - Added the ability to change entry compression and index substring length setting while the backend is online. - Added a persistent state database to each EntryContainer to persist backend configuration between server restarts. Server will issue rebuild required warning if a new index is added when the backend is offline. - Added a trusted flag to indexes so that non existent keys will not be interpreted as an empty entry ID set when an index is untrusted. An index is untrusted when it is added to an non-empty EntryContainer or an inconsistency is detected. Server will issue warning on startup to rebuild the index. - Fixed a issue where the LDIF import process stops responding if the temporary import dir is full or unwritable.
---
opends/src/server/org/opends/server/messages/LoggerMessages.java | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/opends/src/server/org/opends/server/messages/LoggerMessages.java b/opends/src/server/org/opends/server/messages/LoggerMessages.java
index 15c1452..b9d595d 100644
--- a/opends/src/server/org/opends/server/messages/LoggerMessages.java
+++ b/opends/src/server/org/opends/server/messages/LoggerMessages.java
@@ -39,7 +39,7 @@
public class LoggerMessages
{
/**
- * The message ID for the message that will be used if an error occured
+ * The message ID for the message that will be used if an error occurred
* while writing a log record. This takes a two arguments, which
* are the logger that encountered the error and a string
* representation of the exception that was caught.
@@ -50,7 +50,7 @@
/**
- * The message ID for the message that will be used if an error occured
+ * The message ID for the message that will be used if an error occurred
* while opening a log file. This takes a two arguments, which
* are the logger that encountered the error and a string
* representation of the exception that was caught.
@@ -61,7 +61,7 @@
/**
- * The message ID for the message that will be used if an error occured
+ * The message ID for the message that will be used if an error occurred
* while closing a log file. This takes a two arguments, which
* are the logger that encountered the error and a string
* representation of the exception that was caught.
@@ -72,7 +72,7 @@
/**
- * The message ID for the message that will be used if an error occured
+ * The message ID for the message that will be used if an error occurred
* while flushing the writer buffer. This takes a two arguments, which
* are the logger that encountered the error and a string
* representation of the exception that was caught.
@@ -112,7 +112,7 @@
/**
- * The message ID for the message that will be used if an error occured
+ * The message ID for the message that will be used if an error occurred
* while setting file permissions on a log file. This takes the name of the
* file as the argument.
*/
@@ -138,15 +138,15 @@
public static void registerMessages()
{
registerMessage(MSGID_LOGGER_ERROR_WRITING_RECORD,
- "Error occured while writing log record for logger " +
+ "Error occurred while writing log record for logger " +
"%s: %s. Any further write errors will be ignored");
registerMessage(MSGID_LOGGER_ERROR_OPENING_FILE,
- "Error occured while opening log file %s for logger %s: " +
+ "Error occurred while opening log file %s for logger %s: " +
"%s");
registerMessage(MSGID_LOGGER_ERROR_CLOSING_FILE,
- "Error occured while closing log file for logger %s: %s");
+ "Error occurred while closing log file for logger %s: %s");
registerMessage(MSGID_LOGGER_ERROR_FLUSHING_BUFFER,
- "Error occured while flushing writer buffer for " +
+ "Error occurred while flushing writer buffer for " +
"logger %s: %s");
registerMessage(MSGID_ERROR_LOGGER_INVALID_SEVERITY,
"Invalid error log severity \"%s\"");
@@ -155,7 +155,7 @@
registerMessage(MSGID_ERROR_LOGGER_INVALID_OVERRIDE_SEVERITY,
"Invalid override of severity level \"%s\"");
registerMessage(MSGID_LOGGER_SET_PERMISSION_FAILED,
- "Error occured while setting file permissions for the " +
+ "Error occurred while setting file permissions for the " +
"log file %s: %s");
registerMessage(MSGID_LOGGER_UNABLE_SET_PERMISSIONS,
"This platform does not support setting file " +
--
Gitblit v1.10.0