From 7486ef2bb077feb489a55db86707d96e69d12265 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Fri, 30 Jul 2010 12:44:12 +0000
Subject: [PATCH] Implements a disk space thresholds feature, preventing the server from crashing or exiting of disks full.

---
 opends/src/messages/messages/jeb.properties |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/opends/src/messages/messages/jeb.properties b/opends/src/messages/messages/jeb.properties
index 8badbd1..5115d1b 100644
--- a/opends/src/messages/messages/jeb.properties
+++ b/opends/src/messages/messages/jeb.properties
@@ -410,6 +410,21 @@
   the LDIF stream
 SEVERE_ERR_JEB_IMPORT_BUFFER_IO_ERROR_216=I/O error occurred while reading \
   the index scratch file %s in the temporary directory
-MILD_WARN_IMPORT_LDIF_LACK_MEM_PHASE_TWO_217=Insufficient free memory (%d bytes) to \
+SEVERE_ERR_JEB_DISK_LOW_THRESHOLD_REACHED_217=The disk containing directory %s \
+  used by the database backend %s is low on free space (%d bytes free). \
+  Write operations to the backend are only permitted by a user with the \
+  BYPASS_LOCKDOWN privilege until the free space rises above the threshold \
+  (%d bytes)
+SEVERE_ERR_JEB_DISK_FULL_THRESHOLD_REACHED_218=The disk containing directory \
+  %s used by the database backend %s is full (%d bytes free). Write operations \
+  to the backend will fail until the free space rises above the threshold \
+  (%d bytes)
+NOTICE_JEB_DISK_SPACE_RESTORED_219=The free space (%d bytes) on the disk \
+  containing directory %s used by the database backend %s is now above the \
+  threshold (%d bytes)
+SEVERE_WARN_JEB_OUT_OF_DISK_SPACE_220=There is not enough space on the disk \
+  for the database to perform the write operation
+MILD_WARN_IMPORT_LDIF_LACK_MEM_PHASE_TWO_221=Insufficient free memory (%d bytes) to \
  perform import phase 2 in a single batch. Some indexes will be imported using \
  several batches which may result in reduced performance
+

--
Gitblit v1.10.0