[ 
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)

The patch in attachment is for svn solr branch_4X (revision number 1526418)

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

Reply via email to