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.
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 thaterror.maxRedeliveries=1
noterror.maxRedeliveries=10
See thatsolr.commitWithin=1000
notsolr.commitWithin=10000
Edit/opt/apache-karaf-4.0.5/etc/org.fcrepo.camel.indexing.triplestore.cfg
See thaterror.maxRedeliveries=1
noterror.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