mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

boli
02.41.2007 e4f4b6be26cc47d382549bfbf7785b179256917b
opendj-sdk/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];