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

boli
08.19.2006 5c3196a7dc35588f22aa086e4e5cf6a563ec0de0
opends/src/server/org/opends/server/backends/jeb/ImportJob.java
@@ -215,20 +215,12 @@
    rootContainer.openEntryContainers(config.getBaseDNs());
    // Create the import contexts for each base DN.
    EntryID highestID = null;
    DN baseDN;
    for (EntryContainer entryContainer : rootContainer.getEntryContainers())
    {
      baseDN = entryContainer.getBaseDN();
      // Keep track of the highest entry ID.
      EntryID id = entryContainer.getHighestEntryID();
      if (highestID == null || id.compareTo(highestID) > 0)
      {
        highestID = id;
      }
      // Create an import context.
      ImportContext importContext = new ImportContext();
      importContext.setBufferSize(bufferSize);
@@ -248,9 +240,6 @@
      importMap.put(baseDN, importContext);
    }
    // Initialize the entry ID generator.
    EntryID.initialize(highestID);
    // Make a note of the time we started.
    long startTime = System.currentTimeMillis();
@@ -691,7 +680,7 @@
        }
        // Assign a new entry identifier and write the new DN.
        entryID = EntryID.assignNext();
        entryID = rootContainer.getNextEntryID();
        dn2id.insert(txn, entryDN, entryID);
        // Construct a list of IDs up the DIT.