[ 
https://issues.apache.org/jira/browse/SOLR-4632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13614303#comment-13614303
 ] 

dfdeshom commented on SOLR-4632:
--------------------------------

> Looking more closely, transientCacheSize is persisted when it's value is 
> other than Integer.MAX_VALUE. So I don't think this is a problem after all.

I have been able to reproduce the bug today using the example I gave 
previously: transientCacheSize is definitely not persisted regardless of its 
value. I am using the trunk branch of lucene-solr here: 
https://github.com/apache/lucene-solr/commits/trunk

Were you not able to reproduce this bug using the example I gave above?
                
> transientCacheSize is not retained when persisting solr.xml
> -----------------------------------------------------------
>
>                 Key: SOLR-4632
>                 URL: https://issues.apache.org/jira/browse/SOLR-4632
>             Project: Solr
>          Issue Type: Bug
>          Components: multicore
>    Affects Versions: 4.2
>            Reporter: dfdeshom
>            Assignee: Erick Erickson
>            Priority: Minor
>             Fix For: 4.3
>
>         Attachments: SOLR-4632.txt
>
>
> transientCacheSize is not persisted solr.xml when creating a new core. I was 
> able to reproduce this using the following solr.xml file:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8" ?>
> <solr persistent="true">
>   <cores transientCacheSize="21" defaultCoreName="collection1" 
> adminPath="/admin/cores" zkClientTimeout="${zkClientTimeout:15000}" 
> hostPort="8983" hostContext="solr">
>     <core name="collection1" collection="collection1"/>
>   </cores>
> </solr>
> {code}
> I created a new core:
> {code} curl 
> "http://localhost:8983/solr/admin/cores?action=create&instanceDir=collection1&transient=true&name=tmp5&loadOnStartup=false"{code}
> The resulting solr.xml file has the new core added, but is missing the 
> transientCacheSize attribute.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to