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

vharseko
11.57.2019 e8bc51491205cc4df86c652e8d9c219bc22cdd0c
opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/JEStorage.java
@@ -723,7 +723,8 @@
        .setCacheSize(IMPORT_DB_CACHE_SIZE)
        .setDurability(Durability.COMMIT_NO_SYNC)
        .setConfigParam(CLEANER_MIN_UTILIZATION, String.valueOf(config.getDBCleanerMinUtilization()))
        .setConfigParam(LOG_FILE_MAX, String.valueOf(config.getDBLogFileMax()));
        .setConfigParam(LOG_FILE_MAX, String.valueOf(config.getDBLogFileMax()))
         .setConfigParam("je.freeDisk",String.valueOf(50*1024*1024));
    }
    else
    {
@@ -802,7 +803,7 @@
    if (isBackendIncomplete(accessMode))
    {
      envConfig = new EnvironmentConfig();
      envConfig.setAllowCreate(false).setTransactional(false);
      envConfig.setAllowCreate(false).setTransactional(false).setConfigParam("je.freeDisk",String.valueOf(50*1024*1024));
      // Do not open files on disk
      return;
    }