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

downconfig downloads empty file as folder

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.6
    • Fix Version/s: 6.7, 7.1, master (8.0)
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: