You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2014/12/15 07:19:15 UTC
[jira] [Created] (SOLR-6850) AutoAddReplicas does not wait enough
for a replica to get live
Varun Thacker created SOLR-6850:
-----------------------------------
Summary: AutoAddReplicas does not wait enough for a replica to get live
Key: SOLR-6850
URL: https://issues.apache.org/jira/browse/SOLR-6850
Project: Solr
Issue Type: Bug
Affects Versions: 4.10.2, 4.10.1, 4.10, 5.0, Trunk
Reporter: Varun Thacker
After we have detected that a replica needs failing over, we add a replica and wait to see if it's live.
Currently we only wait for 30ms , but I think the intention here was to wait for 30s.
In CloudStateUtil.waitToSeeLive() the conversion should have been {{System.nanoTime() + TimeUnit.NANOSECONDS.convert(timeoutInMs, TimeUnit.SECONDS);}} instead of {{System.nanoTime() + TimeUnit.NANOSECONDS.convert(timeoutInMs, TimeUnit.MILLISECONDS);}}
--
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