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.
| | |
| | | String name) |
| | | { |
| | | this.entryContainer = entryContainer; |
| | | this.dbConfig = dbConfig; |
| | | this.dbConfig = dbConfig.cloneConfig(); |
| | | this.name = name; |
| | | } |
| | | |
| | |
| | | String name) |
| | | { |
| | | this.entryContainer = entryContainer; |
| | | this.dbConfig = dbConfig; |
| | | this.dbConfig = dbConfig.cloneConfig(); |
| | | this.name = name; |
| | | } |
| | | |
| | |
| | | DataConfig dataConfig, String name) |
| | | { |
| | | this.entryContainer = entryContainer; |
| | | this.dbConfig = dbConfig; |
| | | this.dbConfig = dbConfig.cloneConfig(); |
| | | this.name = name; |
| | | this.dataConfig = dataConfig; |
| | | } |
| | |
| | | */ |
| | | public void open(DatabaseConfig dbConfig) throws DatabaseException |
| | | { |
| | | this.dbConfig = dbConfig; |
| | | this.dbConfig = dbConfig.cloneConfig(); |
| | | this.dbConfig.setOverrideBtreeComparator(true); |
| | | this.dbConfig.setBtreeComparator(comparator.getClass()); |
| | | getDatabase(); |