GitHub user sachingsachin opened a pull request: https://github.com/apache/lucene-solr/pull/132
Solr 7121: : Solr nodes should go down based on configurable thresholds Code: SolrConfig - Adds a new config-node CoreDownThresholds (Example config in data_driven_schema_configs/conf/solrconfig.xml) SolrCore - Based on coreNameExpression in the above config, each core gets its own config for thresholds. SolrHealthMonitor* - Main logic for monitoring health of each core. Brings down a core if its stats look bad and brings the same up if the stats improve. ResponseTimeMonitor - Helper to SolrHealthMonitor, focussed solely on monitoring response-time of queries. Tests: CoreDownOnBadSelectStatsTest CoreDownOnHighLoadTest CoreDownOnLongRunningQueriesTest You can merge this pull request into a Git repository by running: $ git pull https://github.com/sachingsachin/lucene-solr SOLR-7121 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/lucene-solr/pull/132.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #132 ---- commit 7260f8ea70aa8e294fe95a4eac4e1db0acf81eb6 Author: Erik Hatcher <ehatc...@apache.org> Date: 2015-01-14T12:44:04Z Fix build, exclude offending file from jtidy git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651641 13f79535-47bb-0310-9956-ffa450edef68 commit a856ca88a8cf3ec23fd33538e37a64e68956e38b Author: Noble Paul <no...@apache.org> Date: 2015-01-14T12:56:41Z SOLR-6937 don't replace periods git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651646 13f79535-47bb-0310-9956-ffa450edef68 commit f2184b146a1459601a63d4c009dedc542dab7276 Author: Sachin Goyal <sgo...@walmart.com> Date: 2015-03-09T18:54:52Z Merge remote-tracking branch 'upstream/trunk' into SOLR-7121 commit fc4849dc5106f022d2f1328002bdbbb50181c25f Author: Sachin Goyal <sgo...@walmart.com> Date: 2015-03-09T19:07:59Z SOLR-7121: Solr nodes should go down based on configurable thresholds and not rely on resource exhaustion Code: SolrConfig - Adds a new config-node CoreDownThresholds (Example config in data_driven_schema_configs/conf/solrconfig.xml) SolrCore - Based on coreNameExpression in the above config, each core gets its own config for thresholds. SolrHealthMonitor - Main class for monitoring health of each core. Brings down a core if its stats look bad and brings the same up if the stats improve. ResponseTimeMonitor - Helper to SolrHealthMonitor, focussed solely on monitoring response-time of queries. Tests: CoreDownOnBadSelectStatsTest CoreDownOnHighLoadTest CoreDownOnLongRunningQueriesTest commit deaa251bd7b83740f9f96083a9ec046c76d490bb Author: Sachin Goyal <sgo...@walmart.com> Date: 2015-03-09T19:59:31Z Refactor SolrHealthMonitor SolrHealthMonitor is broken into: 1) SolrHealthMonitor - Interface holding public APIs 2) SolrHealthMonitorBase - Abstract class with logic to bring cores up and down 3) SolrHealthMonitorImpl - Has logic to get real stats like thread-count, gc-time, long-queries etc. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org