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

Persistence does not write the expected XML

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.3
    • 1.3
    • None
    • None

    Description

      CoreContainer.persist() writes the core container properties at the 'wrong' place in the XML.
      A Solr webapp with a solr.xml stating persistent='true' may fail to restart if the file is written.
      They should be written under /solr - not /solr/cores aka before (not after):

        /** Write the cores configuration through a writer.*/
        void persist(Writer writer) throws IOException {
      ...
          writer.write("<cores adminPath='");
      ...
      

      Attachments

        1. SOLR-720.patch
          0.9 kB
          Shalin Shekhar Mangar

        Issue Links

          Activity

            People

              shalin Shalin Shekhar Mangar
              henrib Henri Biestro
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: