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

Solr should not auto-create the "userfiles" dir in standalone mode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • None
    • None

    Description

      The "userfiles" feature is relatively obscure and might be subsumed by the "file store".  I don't think an obscure feature should be auto-creating its "userfiles" directory.  Even a popular one; not sure it makes sense.  If a user wants to use this feature, they are welcome to create the directory.  Solr has other optional directories, like solr-home/lib that are not auto-created; it's not clear to me why this one is.  I've found the auto-creation of this dir to be annoying in two ways.  One is in Solr's tests – there are existing Jira issues that show stack traces about this even though it's ignored.  Secondly is as a down-stream consumer for running/building Solr plugins that have a Solr home dir pointing somewhere that suddenly has this userfiles dir popping up despite me having no plans to use it.

      Attachments

        Issue Links

          Activity

            People

              mdrob Mike Drob
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m