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

Anshum Gupta commented on SOLR-5477:
------------------------------------

Thanks for the input Jessica.

I would like to believe that most of the internal timeouts (from the Overseer 
to Core Admin) would already be taken care of. If that's not the case, I'll 
handle it internally and add timeouts. Having said that, I wouldn't propose to 
self-retry or anything even in that case.
I would instead want to let it timeout, report the same back to the user and 
let him reconfigure the timeout (would add a param that let's a user override 
the default timeouts for the particular request).
This way, we enable the user to make the 'intelligent' decisions and overcome 
timeout (and other) issues.

When you poll for the status of a request, the response would contain the 
failure information (in case of failure) which can be used by the admin user to 
take a call.

> Async execution of OverseerCollectionProcessor tasks
> ----------------------------------------------------
>
>                 Key: SOLR-5477
>                 URL: https://issues.apache.org/jira/browse/SOLR-5477
>             Project: Solr
>          Issue Type: Sub-task
>          Components: SolrCloud
>            Reporter: Noble Paul
>            Assignee: Anshum Gupta
>
> Typical collection admin commands are long running and it is very common to 
> have the requests get timed out.  It is more of a problem if the cluster is 
> very large.Add an option to run these commands asynchronously
> add an extra param async=true for all collection commands
> the task is written to ZK and the caller is returned a task id. 
> as separate collection admin command will be added to poll the status of the 
> task
> command=status&id=7657668909
> if id is not passed all running async tasks should be listed
> A separate queue is created to store in-process tasks . After the tasks are 
> completed the queue entry is removed. OverSeerColectionProcessor will perform 
> these tasks in multiple threads



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to