[ 
https://issues.apache.org/jira/browse/SOLR-7667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shawn Heisey updated SOLR-7667:
-------------------------------
    Attachment: SOLR-7667-with-CoreAdmin-create-fail.patch

Patch against 5x that includes code in CoreAdminHandler to fail core creation 
when the number of cores set to load on startup equals or exceeds 
transientCacheSize.

The added code doesn't feel very elegant to me.  Part of that is the length of 
the error messages, but I wonder if maybe CoreContainer should keep track of 
statistics like the number of cores set to load on startup.

> If more cores are loaded at startup than the transient core size, cores 
> become unavailable.
> -------------------------------------------------------------------------------------------
>
>                 Key: SOLR-7667
>                 URL: https://issues.apache.org/jira/browse/SOLR-7667
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.2.1, Trunk
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>         Attachments: CoreContainer.java, 
> SOLR-7667-with-CoreAdmin-create-fail.patch, SOLR-7667.patch, SOLR-7667.patch
>
>
> Edwin Lee from the user's list caught this, the original post is titled 
> "loadOnStartup & transientCoreSize & BUG Report on CoreContainer.java"
> Nice catch Edwin!
> More details to follow:



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to