[
https://issues.apache.org/jira/browse/SOLR-5477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849428#comment-13849428
]
Jessica Cheng commented on SOLR-5477:
-------------------------------------
Again, I'm not advocating an auto-retry and agree that it is *not* the right
thing to do.
All I'm saying is that as an admin user, I would like to have the definitive
answer of "success", "failure", and "in progress", and if a request times out
anywhere down in the pipeline, the answer is "don't know" because it can either
be "failure" or "in progress". Without a way to separately/asynchronously poll
the status of any individual subtask, the overall collection request cannot
offer this definitive answer, and I as an admin user will not be able to make
the call of whether or not to re-issue a request. That is, if my failure status
is "time out", I have no idea what actually went wrong, what to fix, or even if
actually my timed out request is still in progress and will finish in another
10 seconds.
> 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]