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

olivier soyez updated SOLR-5318:
--------------------------------

    Description: 
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)

  was:
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).


> 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.6
>            Reporter: olivier soyez
>            Assignee: Erick Erickson
>            Priority: Minor
>         Attachments: 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)



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

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

Reply via email to