From 0a8225c9469a29f6133ddd31c8cc0624d6a1de97 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Wed, 12 Nov 2008 03:43:10 +0000
Subject: [PATCH] Fixed an issue where adding a local backend with dsconfig resulted in a number of erroneous messages printed to the error log.
---
opends/src/server/org/opends/server/backends/jeb/VLVIndex.java | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/opends/src/server/org/opends/server/backends/jeb/VLVIndex.java b/opends/src/server/org/opends/server/backends/jeb/VLVIndex.java
index b6b6fca..0060666 100644
--- a/opends/src/server/org/opends/server/backends/jeb/VLVIndex.java
+++ b/opends/src/server/org/opends/server/backends/jeb/VLVIndex.java
@@ -241,12 +241,6 @@
setTrusted(null, true);
}
- // Issue warning if this vlvIndex is not trusted
- if(!trusted)
- {
- logError(NOTE_JEB_INDEX_ADD_REQUIRES_REBUILD.get(name));
- }
-
this.count = new AtomicInteger(0);
this.config.addChangeListener(this);
}
@@ -1512,6 +1506,15 @@
}
/**
+ * Return true iff this index is trusted.
+ * @return the trusted state of this index
+ */
+ public boolean isTrusted()
+ {
+ return trusted;
+ }
+
+ /**
* Set the rebuild status of this vlvIndex.
* @param rebuildRunning True if a rebuild process on this vlvIndex
* is running or False otherwise.
--
Gitblit v1.10.0