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

downconfig downloads empty file as folder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.6
    • 6.7, 7.1, 8.0
    • None
    • None
    • Windows 7

    Description

      With Solr 6.6.0, when downloading a config from Zookeeper (3.4.10), if a file is empty, it is downloaded as a folder (on Windows, at least).

      A Zookeeper browser (Eclipse: Zookeeper Explorer) shows the file as a file, however, in ZK.

      Noticed because we keep an empty synonyms.txt file in the Solr config provided with our product, in case a client would want to use it.

      The workaround is simple, since the file allows comments: just add a comment, so it is not empty.

      Attachments

        1. SOLR-11198.patch
          6 kB
          Erick Erickson
        2. SOLR-11198.patch
          6 kB
          Erick Erickson

        Activity

          People

            erickerickson Erick Erickson
            igiguere Isabelle Giguere
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: