Hi, I have opened a pull request for https://issues.apache.org/jira/browse/SOLR-7121 at https://github.com/apache/lucene-solr/pull/132
This PR allows clients to specify some threshold values beyond which the targeted core can declare itself unhealthy and proactively go down to recover. When the load improves, the downed cores come up automatically. Such behavior will help machines survive longer by not hitting their hardware limits. The PR includes tests for all the ill-health cases. If someone can review this and help me get it committed, it would be much appreciated. Thanks Sachin