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

gbellato
03.12.2009 574b552348f1f8a8740594b35fda1297ad62bfbe
opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
@@ -642,8 +642,9 @@
    if (isolationpolicy.equals(IsolationPolicy.REJECT_ALL_UPDATES))
    {
      // this isolation policy specifies that the updates are denied
      // when the broker is not connected.
      return isConnected();
      // when the broker had problems during the connection phase
      // Updates are still accepted if the broker is currently connecting..
      return !hasConnectionError();
    }
    // we should never get there as the only possible policies are
    // ACCEPT_ALL_UPDATES and REJECT_ALL_UPDATES