From e117044206787810309294cf77ff254134883481 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Wed, 01 Aug 2007 22:41:18 +0000
Subject: [PATCH] Fixed a typo for the max block size attribute in the VLV index configuration
---
opends/src/server/org/opends/server/backends/jeb/VLVIndex.java | 14 +++++++-------
1 files changed, 7 insertions(+), 7 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 ee1aa41..32eb41a 100644
--- a/opends/src/server/org/opends/server/backends/jeb/VLVIndex.java
+++ b/opends/src/server/org/opends/server/backends/jeb/VLVIndex.java
@@ -150,7 +150,7 @@
this.config = config;
this.baseDN = config.getVLVIndexBaseDN();
this.scope = SearchScope.valueOf(config.getVLVIndexScope().name());
- this.sortedSetCapacity = config.getVLVIndexSortedSetCapacity();
+ this.sortedSetCapacity = config.getVLVIndexMaximumBlockSize();
this.id2entry = entryContainer.getID2Entry();
try
@@ -1323,15 +1323,15 @@
}
// Update sort set capacity only if changed.
- if(config.getVLVIndexSortedSetCapacity() !=
- cfg.getVLVIndexSortedSetCapacity())
+ if(config.getVLVIndexMaximumBlockSize() !=
+ cfg.getVLVIndexMaximumBlockSize())
{
- this.sortedSetCapacity = cfg.getVLVIndexSortedSetCapacity();
+ this.sortedSetCapacity = cfg.getVLVIndexMaximumBlockSize();
// Require admin action only if the new capacity is larger. Otherwise,
// we will lazyly update the sorted sets.
- if(config.getVLVIndexSortedSetCapacity() <
- cfg.getVLVIndexSortedSetCapacity())
+ if(config.getVLVIndexMaximumBlockSize() <
+ cfg.getVLVIndexMaximumBlockSize())
{
adminActionRequired = true;
}
@@ -1361,7 +1361,7 @@
// Update the sort order only if changed.
if(!config.getVLVIndexSortOrder().equals(
- cfg.getVLVIndexSortedSetCapacity()))
+ cfg.getVLVIndexMaximumBlockSize()))
{
String[] sortAttrs = cfg.getVLVIndexSortOrder().split(" ");
SortKey[] sortKeys = new SortKey[sortAttrs.length];
--
Gitblit v1.10.0