You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2013/11/06 15:22:18 UTC

[jira] [Updated] (SOLR-5318) create command don't take into account the transient core property

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

Erick Erickson updated SOLR-5318:
---------------------------------

    Attachment: SOLR-5318.patch

New patch with tests, committing shortly. I changed Oliver's approach a bit so we don't need new methods in CoreContainer.

I'm not quite sure we really need all the variants of register, it seems like we always have things like the core name, whether the core is transient, all that stuff already in the CoreDescriptor we pass around, except maybe in the case of renaming the core. Could all this be made simpler? But that's for another day.

> create command don't take into account the transient core property
> ------------------------------------------------------------------
>
>                 Key: SOLR-5318
>                 URL: https://issues.apache.org/jira/browse/SOLR-5318
>             Project: Solr
>          Issue Type: Bug
>          Components: multicore
>    Affects Versions: 4.4, 4.6
>            Reporter: olivier soyez
>            Assignee: Erick Erickson
>            Priority: Minor
>         Attachments: SOLR-5318.patch, SOLR-5318.patch
>
>
> the create core admin command don't take into account the transient core property, when the core is registered (so, the core will be never closed by the transient core cache)
> To reproduce :
> set transientCacheSize=2 and start with no cores
> Create 3 cores :
> curl "http://ip:port/solr/admin/cores?action=CREATE&name=coreX&instanceDir=path_to_instanceDir_coreX&dataDir=path_to_dataDir_coreX&loadOnStartup=false&transient=true"
> Look at the status :
> http://ip:port/solr/admin/cores?action=STATUS
> All cores are still loaded.
> One core should not be loaded (closed by the transient cache)
> The patch in attachment is for svn solr branch_4X (revision number 1526418)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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