You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/05/22 14:00:07 UTC

[jira] [Comment Edited] (SOLR-6104) The 'addreplica' Collection API does not support async parameter

    [ https://issues.apache.org/jira/browse/SOLR-6104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14005838#comment-14005838 ] 

Shalin Shekhar Mangar edited comment on SOLR-6104 at 5/22/14 11:59 AM:
-----------------------------------------------------------------------

On further investigation I found that support for async was present in OCP (it is implemented automatically for all APIs) but neither the asyncId param was passed by CollectionHandler nor the core admin API calls made by addreplica were asynchronous so a timeout from core admin API could fail the call.

I have fixed all these issues and added a test in CollectionsAPIAsyncDistributedZkTest.


was (Author: shalinmangar):
On further investigation I found that support for async was present in OCP (it is implemented automatically for all APIs) but neither the asyncId param was passed by CollectionHandler nor the core admin API calls made by addreplica were asynchronous so a timeout from core admin API could fail the call even.

I have fixed all these issues and added a test CollectionsAPIAsyncDistributedZkTest.

> The 'addreplica' Collection API does not support async parameter
> ----------------------------------------------------------------
>
>                 Key: SOLR-6104
>                 URL: https://issues.apache.org/jira/browse/SOLR-6104
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.8, 4.8.1
>            Reporter: Shalin Shekhar Mangar
>             Fix For: 4.9, 5.0
>
>         Attachments: SOLR-6104.patch
>
>
> The 'addreplica' API does not support an 'async' parameter which was added by SOLR-5477.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org