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

Ludovic Poitou
07.19.2013 397863df3c56986354a0d02d74f9254f5625b3b5
Small commit to mark the location of issue OPENDJ-746.
1 files modified
7 ■■■■ changed files
opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java 7 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java
@@ -23,7 +23,7 @@
 *
 *
 *      Copyright 2008-2010 Sun Microsystems, Inc.
 *      Portions Copyright 2011-2012 ForgeRock AS
 *      Portions Copyright 2011-2013 ForgeRock AS
 */
package org.opends.server.backends.jeb.importLDIF;
@@ -1846,8 +1846,11 @@
        indexBuffer = getNewIndexBuffer();
        indexBufferMap.put(indexKey, indexBuffer);
      }
      else if (!indexBuffer.isSpaceAvailable(key, entryID.longValue()))
      if (!indexBuffer.isSpaceAvailable(key, entryID.longValue()))
      {
        // TODO Make sure the new indexBuffer has enough space for the
        // key and ID. cf Bug OPENDJ-746
        indexBuffer.setComparator(comparator);
        indexBuffer.setIndexKey(indexKey);
        bufferSortService.submit(new SortTask(indexBuffer));