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

Valery Kharseko
11 hours ago c6650aedac5c1ade8aee9e7a76eb0dd100a3e179
opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/MultimasterReplication.java
@@ -424,6 +424,16 @@
    try
    {
      LDAPReplicationDomain rd = createNewDomain(configuration);
      if (rd == null)
      {
        ccr.setResultCode(ResultCode.UNAVAILABLE);
        final LocalizableMessage reason = LocalBackend.getWriteFailure(configuration.getBaseDN());
        if (reason != null)
        {
          ccr.addMessage(reason);
        }
        return ccr;
      }
      if (State.RUNNING.equals(state.get()))
      {
        rd.start();