mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-15 10:20:47 +00:00
part of fix for HER-1627 incorrect source tag in crawl.log (of persist-loaded crawl)
* EnhancedEnvironment.java
in getClassCatalog(), when read-only env, insist on read-only catalog
* PersistLoadProcessor.java
remove existing curi members from prior to prevent clobbering source
* PersistProcessor.java
set historyDbConfig read-only, set je.log.faultReadSize for
compatability with BDBModule.setup()
This commit is contained in:
1 parent
20b8a7bc90
commit
9f77412581
3 files changed
+7
-1
No files matched your search
@@ -59,6 +59,7 @@ public class EnhancedEnvironment extends Environment {
|
||||
if(classCatalog == null) {
|
||||
DatabaseConfig dbConfig = new DatabaseConfig();
|
||||
dbConfig.setAllowCreate(true);
|
||||
dbConfig.setReadOnly(this.getConfig().getReadOnly());
|
||||
try {
|
||||
classCatalogDB = openDatabase(null, "classCatalog", dbConfig);
|
||||
classCatalog = new StoredClassCatalog(classCatalogDB);
|
||||
|
||||
Reference in new issue
Block a user