lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Sun (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-8416) Solr collection creation API should return after all cores are alive
Date Fri, 15 Jan 2016 22:25:39 GMT

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

Michael Sun commented on SOLR-8416:
-----------------------------------

Here is the patch with delay in core creation injected to simulate slow core creation or recovering
situations in real world scenarios. Basically it extends the TestInjection.java to inject
delay.

The patch also clean up the code for exceptions and error messages.
cc [~markrmiller@gmail.com]

> Solr collection creation API should return after all cores are alive 
> ---------------------------------------------------------------------
>
>                 Key: SOLR-8416
>                 URL: https://issues.apache.org/jira/browse/SOLR-8416
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Michael Sun
>         Attachments: SOLR-8416.patch, SOLR-8416.patch, SOLR-8416.patch, SOLR-8416.patch
>
>
> Currently the collection creation API returns once all cores are created. In large cluster
the cores may not be alive for some period of time after cores are created. For any thing
requested during that period, Solr appears unstable and can return failure. Therefore it's
better  the collection creation API waits for all cores to become alive and returns after
that.



--
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


Mime
View raw message