Is there a general strategy on how to deal with InterruptedException while
issues a zookeeper call from solr?

Here's a more concrete example which I am unsure if it's doing the right
thing or not:

https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java#L180

This code simply catches Exception. So if InterruptedException is thrown ,
we simply log an ERROR and move on.

Excerpt logs from a local failed test run:
https://gist.github.com/vthacker/5dcb8978ba177d8725e98c5d433ee6c2

Reply via email to