Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4632

transientCacheSize is not retained when persisting solr.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.2
    • 4.3, 6.0
    • multicore
    • None

    Description

      transientCacheSize is not persisted solr.xml when creating a new core. I was able to reproduce this using the following solr.xml file:

      <?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>
      

      I created a new core:

       curl "http://localhost:8983/solr/admin/cores?action=create&instanceDir=collection1&transient=true&name=tmp5&loadOnStartup=false"

      The resulting solr.xml file has the new core added, but is missing the transientCacheSize attribute.

      Attachments

        1. SOLR-4632.txt
          2 kB
          dfdeshom

        Issue Links

          Activity

            People

              erickerickson Erick Erickson
              dfdeshom dfdeshom
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: