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

pgamba
26.48.2008 1f7dcb1c674c1a22371672053aba10645c07fdb7
opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java
@@ -2525,13 +2525,24 @@
   * their change dbs.
   *
   * @param generationIdNewValue The new value of the generation Id.
   * @throws DirectoryException when an error occurs
   */
  public void resetGenerationId(Long generationIdNewValue)
  throws DirectoryException
  {
    if (debugEnabled())
      TRACER.debugInfo(
          this.getName() + "resetGenerationId" + generationIdNewValue);
    if (!isConnected())
    {
      ResultCode resultCode = ResultCode.OTHER;
      Message message = ERR_RESET_GENERATION_CONN_ERR_ID.get(
          baseDN.toNormalizedString());
      throw new DirectoryException(
         resultCode, message);
    }
    ResetGenerationId genIdMessage = null;
    if (generationIdNewValue == null)
    {