diff --git a/lib/metacat.properties b/lib/metacat.properties index a8ba73a32..7d07571dc 100755 --- a/lib/metacat.properties +++ b/lib/metacat.properties @@ -822,11 +822,11 @@ index.hazelcast.indexeventmap=hzIndexEventMap index.tdb.directory=/var/metacat/tdb index.accessLog.count.enabled=false #The time (millisecond) that the resource map processor waits for the solr doc readiness of its components -index.resourcemap.waitingComponent.time=100 +index.resourcemap.waitingComponent.time=300 #The number of the attempts that the resource map processor tries to wait for the solr doc readiness of its components index.resourcemap.waitingComponent.max.attempts=5 #The time (millisecond) that indexer will wait to grab a newer version of solr doc when a version conflict happened -index.solr.versionConflict.waiting.time=100 +index.solr.versionConflict.waiting.time=200 #The number of the attempts that indexer tries to grab a newer version of solr doc when a version conflict happened index.solr.versionConflict.max.attempts=2 #You may specify the exact number of threads the indexer will use. diff --git a/metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/SystemMetadataEventListener.java b/metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/SystemMetadataEventListener.java index fd1a69290..1de84342c 100644 --- a/metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/SystemMetadataEventListener.java +++ b/metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/SystemMetadataEventListener.java @@ -63,9 +63,9 @@ public class SystemMetadataEventListener implements EntryListener 0 && specifiedThreadNumber < nThreads) { nThreads = specifiedThreadNumber; } - log.info("SystemMetadataEventListener static part - the number of indexing threads specified in the metacat.properties file is " + specifiedThreadNumber + - ". The number of threads calculated from the available processors is " + availableProcessors + - ". The eventual number of threads will used in the executor is " + nThreads); + log.info("SystemMetadataEventListener static part - the size of index thread pool specified in the metacat.properties file is " + specifiedThreadNumber + + ". The size computed from the available processors is " + availableProcessors + + ". Final computed thread pool size for index executor: " + nThreads); //int nThreads = org.dataone.configuration.Settings.getConfiguration().getInt("index.thread.number", 1); //log.info("+++++++++++++++SystemMetadataEventListener.static - the number of threads will used in executors is " + nThreads); executor = Executors.newFixedThreadPool(nThreads);