From fceec4773fdc91fa7e11334a56f0403fd69292ed 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. 

---
 opendj-sdk/opends/src/server/org/opends/server/loggers/LogPublisherErrorHandler.java |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/loggers/LogPublisherErrorHandler.java b/opendj-sdk/opends/src/server/org/opends/server/loggers/LogPublisherErrorHandler.java
index 88b7259..d74ad0e 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/loggers/LogPublisherErrorHandler.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/loggers/LogPublisherErrorHandler.java
@@ -44,7 +44,7 @@
 public class LogPublisherErrorHandler
 {
   private DN publisherConfigDN;
-  private boolean writeErrorOccured = false;
+  private boolean writeErroroccurred = false;
 
   /**
    * Construct a new log publisher error handler for a log publisher
@@ -66,21 +66,21 @@
    */
   public void handleWriteError(String record, Throwable ex)
   {
-    if(!writeErrorOccured)
+    if(!writeErroroccurred)
     {
       int msgID = MSGID_LOGGER_ERROR_WRITING_RECORD;
       String msg = getMessage(msgID, publisherConfigDN.toString(),
                               stackTraceToSingleLineString(ex));
       System.err.println(msg);
-      writeErrorOccured = true;
+      writeErroroccurred = true;
     }
   }
 
   /**
-   * Handle an exception which occured while trying to open a log
+   * Handle an exception which occurred while trying to open a log
    * file.
    * @param file - the file which was being opened.
-   * @param ex - the exception occured.
+   * @param ex - the exception occurred.
    */
   public void handleOpenError(File file, Throwable ex)
   {
@@ -92,9 +92,9 @@
   }
 
   /**
-   * Handle an exception which occured while trying to close a log
+   * Handle an exception which occurred while trying to close a log
    * file.
-   * @param ex - the exception occured.
+   * @param ex - the exception occurred.
    */
   public void handleCloseError(Throwable ex)
   {
@@ -105,9 +105,9 @@
   }
 
   /**
-   * Handle an exception which occured while trying to flush the
+   * Handle an exception which occurred while trying to flush the
    * writer buffer.
-   * @param ex - the exception occured.
+   * @param ex - the exception occurred.
    */
   public void handleFlushError(Throwable ex)
   {

--
Gitblit v1.10.0