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

pgamba
30.43.2008 05de186e36b9743e3c329071cd60678df92de592
Fix #3429 - on line parallel ds replication init fails
1 files modified
5 ■■■■ changed files
opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java 5 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java
@@ -3096,6 +3096,7 @@
  public void initializeRemote(short target, short requestorID, Task initTask)
  throws DirectoryException
  {
    boolean contextAcquired=false;
    try
    {
      Backend backend = retrievesBackend(this.baseDN);
@@ -3109,6 +3110,7 @@
      }
      acquireIEContext();
      contextAcquired = true;
      // The number of entries to be exported is the number of entries under
      // the base DN entry and the base entry itself.
@@ -3143,7 +3145,8 @@
                         de.getMessageObject());
      broker.publish(errorMsg);
      releaseIEContext();
      if (contextAcquired)
        releaseIEContext();
      throw(de);
    }