fcrepo-exts / fcrepo-vagrant

Fedora 4 Vagrant Virtual Machine
26 stars 22 forks source link

Reduce maxRedeliveries from 10 to 1 and Solr commit time from 10s to 1 #85

Closed whikloj closed 6 years ago

whikloj commented 6 years ago

JIRA Ticket: https://jira.duraspace.org/browse/FCREPO-2669

What does this Pull Request do?

Alters the fcrepo-camel-toolbox to change 2 settings. One for retries and one for commit time.

How should this be tested?

Bring up vagrant with this PR. Edit /opt/apache-karaf-4.0.5/etc/org.fcrepo.camel.indexing.solr.cfg See that error.maxRedeliveries=1 not error.maxRedeliveries=10 See that solr.commitWithin=1000 not solr.commitWithin=10000 Edit /opt/apache-karaf-4.0.5/etc/org.fcrepo.camel.indexing.triplestore.cfg See that error.maxRedeliveries=1 not error.maxRedeliveries=10

Additional Notes:

This is really just a cosmetic change, it helps when you might run automated testing against the repository as it reduces the number of times it will try to index any objects that are inserted and then deleted from the repository. It also speeds up how quickly Solr will display newly indexed objects.

Interested parties

@dbernstein @bseeger @awoods