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

Jean-Noel Rouvignac
16.29.2015 73f5d0855f8fc31259e770cdad089612e77a6383
opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/VLVIndex.java
@@ -100,8 +100,6 @@
   * with the entries database.
   */
  private boolean trusted;
  /** A flag to indicate if a rebuild process is running on this vlvIndex. */
  private boolean rebuildRunning;
  /** The VLV vlvIndex configuration. */
  private LocalDBVLVIndexCfg config;
@@ -739,7 +737,7 @@
                             StringBuilder debugBuilder)
      throws DirectoryException, DatabaseException
  {
    if (!trusted || rebuildRunning
    if (!trusted
        || !searchOperation.getBaseDN().equals(baseDN)
        || !searchOperation.getScope().equals(scope)
        || !searchOperation.getFilter().equals(filter)
@@ -1066,16 +1064,6 @@
  }
  /**
   * Set the rebuild status of this vlvIndex.
   * @param rebuildRunning True if a rebuild process on this vlvIndex
   *                       is running or False otherwise.
   */
  public synchronized void setRebuildStatus(boolean rebuildRunning)
  {
    this.rebuildRunning = rebuildRunning;
  }
  /**
   * Gets the values to sort on from the entry.
   *
   * @param entry The entry to get the values from.