SOLR-11182: A split shard failure on IOException should be logged

This commit is contained in:
Varun Thacker 2017-08-03 09:50:00 -07:00
parent 78b6e5031a
commit 8cd2942e35
2 changed files with 3 additions and 0 deletions

View File

@ -420,6 +420,8 @@ Bug Fixes
* SOLR-11163: Fix contrib/ltr Normalizer persistence after solr core reload or restart. * SOLR-11163: Fix contrib/ltr Normalizer persistence after solr core reload or restart.
(Yuki Yano via Christine Poerschke) (Yuki Yano via Christine Poerschke)
* SOLR-11182: A split shard failure on IOException should be logged (Varun Thacker)
Optimizations Optimizations
---------------------- ----------------------

View File

@ -911,6 +911,7 @@ public class DirectUpdateHandler2 extends UpdateHandler implements SolrCoreState
} catch (IOException e) { } catch (IOException e) {
numErrors.increment(); numErrors.increment();
numErrorsCumulative.mark(); numErrorsCumulative.mark();
throw e;
} }
} }