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

coulbeck
08.08.2007 d8b35f65f4273a51068e3f4b9ca76f1eed06de22
Fix for issue 1755: InitializeReplica is not always complete - subentries not always exported before top entry.

Clone the database config so that we don't share it between different databases.
4 files modified
8 ■■■■ changed files
opends/src/server/org/opends/server/backends/jeb/DN2ID.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/DN2URI.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/ID2Entry.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/Index.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/DN2ID.java
@@ -87,7 +87,7 @@
               String name)
  {
    this.entryContainer = entryContainer;
    this.dbConfig = dbConfig;
    this.dbConfig = dbConfig.cloneConfig();
    this.name = name;
  }
opends/src/server/org/opends/server/backends/jeb/DN2URI.java
@@ -130,7 +130,7 @@
                String name)
  {
    this.entryContainer = entryContainer;
    this.dbConfig = dbConfig;
    this.dbConfig = dbConfig.cloneConfig();
    this.name = name;
  }
opends/src/server/org/opends/server/backends/jeb/ID2Entry.java
@@ -95,7 +95,7 @@
                  DataConfig dataConfig, String name)
  {
    this.entryContainer = entryContainer;
    this.dbConfig = dbConfig;
    this.dbConfig = dbConfig.cloneConfig();
    this.name = name;
    this.dataConfig = dataConfig;
  }
opends/src/server/org/opends/server/backends/jeb/Index.java
@@ -140,7 +140,7 @@
   */
  public void open(DatabaseConfig dbConfig) throws DatabaseException
  {
    this.dbConfig = dbConfig;
    this.dbConfig = dbConfig.cloneConfig();
    this.dbConfig.setOverrideBtreeComparator(true);
    this.dbConfig.setBtreeComparator(comparator.getClass());
    getDatabase();