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

Jean-Noel Rouvignac
20.23.2015 5d17d3fc157b4d05825d04050c1f80b0e3dbbbdc
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendImpl.java
@@ -640,7 +640,7 @@
    try
    {
      if (Importer.mustClearBackend(importConfig, cfg))
      if (OnDiskMergeBufferImporter.mustClearBackend(importConfig, cfg))
      {
        try
        {
@@ -694,7 +694,7 @@
  private ImportStrategy getImportStrategy() throws DirectoryException
  {
    // TODO JNR may call new SuccessiveAddsImportStrategy() depending on configured import strategy
    return new Importer.StrategyImpl(cfg);
    return new OnDiskMergeBufferImporter.StrategyImpl(cfg);
  }
  /** {@inheritDoc} */
@@ -767,7 +767,7 @@
      {
        rootContainer = initializeRootContainer();
      }
      new Importer(rootContainer, rebuildConfig, cfg, serverContext).rebuildIndexes();
      new OnDiskMergeBufferImporter(rootContainer, rebuildConfig, cfg, serverContext).rebuildIndexes();
    }
    catch (ExecutionException execEx)
    {