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

transientCacheSize is not retained when persisting solr.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.3, 6.0
    • Component/s: multicore
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: