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

pgamba
14.20.2007 110726757d33bae25fabde2a8dbd2d9203e85526
opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java
@@ -2517,11 +2517,21 @@
   * Reset the generationId of this domain in the whole topology.
   * A message is sent to the Replication Servers for them to reset
   * their change dbs.
   *
   * @param generationIdNewValue The new value of the generation Id.
   */
  public void resetGenerationId()
  public void resetGenerationId(Long generationIdNewValue)
  {
    ResetGenerationId genIdMessage = null;
    requestedResetSinceLastStart = true;
    ResetGenerationId genIdMessage = new ResetGenerationId(this.generationId);
    if (generationIdNewValue == null)
    {
      genIdMessage = new ResetGenerationId(this.generationId);
    }
    else
    {
      genIdMessage = new ResetGenerationId(generationIdNewValue);
    }
    broker.publish(genIdMessage);
  }