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

pgamba
25.45.2007 43f2a85a05410053a43e9aa632d17b28d8114215
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java
@@ -2289,7 +2289,7 @@
  public long computeGenerationId() throws DirectoryException
  {
    Backend backend = retrievesBackend(baseDN);
    long bec = backend.getEntryCount();
    long bec = backend.numSubordinates(baseDN, true) + 1;
    this.acquireIEContext();
    ieContext.checksumOutput = true;
    ieContext.entryCount = (bec<1000?bec:1000);
@@ -2710,7 +2710,8 @@
      os = new CheckedOutputStream(ros, new Adler32());
      try
      {
        os.write((Long.toString(ieContext.entryCount)).getBytes());
        os.write((Long.toString(backend.numSubordinates(baseDN, true) + 1)).
            getBytes());
      }
      catch(Exception e)
      {