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

boli
31.38.2007 ee0fbff002e17a56aca09cb8dc7da0f4fe20ad6e
opends/src/server/org/opends/server/backends/jeb/VLVIndex.java
@@ -254,6 +254,7 @@
    }
    this.count = new AtomicInteger(0);
    this.config.addChangeListener(this);
  }
  /**
@@ -286,6 +287,18 @@
  }
  /**
   * Close the VLV index.
   *
   * @throws DatabaseException if a JE database error occurs while
   * closing the index.
   */
  public void close() throws DatabaseException
  {
    super.close();
    this.config.removeChangeListener(this);
  }
  /**
   * Update the vlvIndex for a new entry.
   *
   * @param txn A database transaction, or null if none is required.
@@ -1431,6 +1444,9 @@
    if(adminActionRequired)
    {
      trusted = false;
      int msgID = MSGID_JEB_INDEX_ADD_REQUIRES_REBUILD;
      String message = getMessage(msgID, name);
      messages.add(message);
      try
      {
        state.putIndexTrustState(null, this, false);