[ 
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

I made a slight adjustment to the patch where CoreAdmin fails to create a core 
when the number of cores with loadOnStartup would exceed transientCacheSize.

This patch does cause one test failure that I've seen so far -- here's the 
point in the test run where it logs the warning before throwing the exception:

{noformat}
   [junit4]   2> 80803 WARN  
(TEST-TestLazyCores.testCreateTransientFromAdmin-seed#[63584E21E9EC83F]) [    
x:core2] o.a.s.h.a.CoreAdminHandler 4 cores already marked to load on startup, 
with a transient cache size of 4.  Raise transientCacheSize in solr.xml.
{noformat}

Here's the exception:

{noformat}
   [junit4] ERROR   0.24s J0 | TestLazyCores.testCreateTransientFromAdmin <<<
   [junit4]    > Throwable #1: org.apache.solr.common.SolrException: Core 
creation failed.  Number of cores marked to load on startup would exceed 
transient cache size.  Raise transientCacheSize in solr.xml and try again.
{noformat}


> 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-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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to