lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <>
Subject [jira] [Commented] (SOLR-8416) Solr collection creation API should return after all cores are alive
Date Wed, 16 Dec 2015 17:59:46 GMT


Mark Miller commented on SOLR-8416:

Thanks for the patch, a couple comments:

* Usually it's better to use SolrException over RuntimeException
* Where you catch the interrupted exception, you should restore the interrupted status.
* The failure exception should probably give detail on which replicas were not found to be
live and ACTIVE.
* Should not use hard coded 'active' but the relevant constants.
* Should probably check if the replicas node is listed under live nodes as well as if it's

> Solr collection creation API should return after all cores are alive 
> ---------------------------------------------------------------------
>                 Key: SOLR-8416
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Michael Sun
>         Attachments: 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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message