Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail early on severe Solr problems #253

Open
tokee opened this issue Jun 7, 2021 · 0 comments
Open

Fail early on severe Solr problems #253

tokee opened this issue Jun 7, 2021 · 0 comments

Comments

@tokee
Copy link
Collaborator

tokee commented Jun 7, 2021

If the SolrClient throws a org.apache.solr.client.solrj.SolrServerException: Server refused connection at: http://localhost:8983/solr/netarchivebuilder then warc-indexer should exit immediately with a proper return code. so that calling scripts can act accordingly.

Bonus: If Solr runs out of disk space, this is stated in another exception. There should be a similar early termination for that, with another return code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant