You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2014/09/12 19:17:34 UTC
[jira] [Created] (SOLR-6511) Fencepost error in
LeaderInitiatedRecoveryThread
Alan Woodward created SOLR-6511:
-----------------------------------
Summary: Fencepost error in LeaderInitiatedRecoveryThread
Key: SOLR-6511
URL: https://issues.apache.org/jira/browse/SOLR-6511
Project: Solr
Issue Type: Bug
Reporter: Alan Woodward
At line 106:
{code}
while (continueTrying && ++tries < maxTries) {
{code}
should be
{code}
while (continueTrying && ++tries <= maxTries) {
{code}
This is only a problem when called from DistributedUpdateProcessor, as it can have maxTries set to 1, which means the loop is never actually run.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org