[
https://issues.apache.org/jira/browse/SOLR-6850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338392#comment-14338392
]
ASF subversion and git services commented on SOLR-6850:
-------------------------------------------------------
Commit 1662446 from [email protected] in branch 'dev/branches/lucene_solr_4_10'
[ https://svn.apache.org/r1662446 ]
SOLR-6850: AutoAddReplicas makes a call to wait to see live replicas that times
out after 30 milliseconds instead of 30 seconds.
> 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, 4.10.1, 4.10.2, 5.0, Trunk
> Reporter: Varun Thacker
> Assignee: Mark Miller
> Fix For: 4.10.4, 5.0, Trunk
>
> Attachments: SOLR-6850.patch, SOLR-6850.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]