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

CorePropertiesLocator does NOT follow symlinks anymore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 5.4
    • 5.5
    • None
    • None

    Description

      Looks like CorePropertiesLocator was switched over to use the new java.nio stuff... and the simplified version of the walkFileTree method does NOT follow symlinks by default. This is a critical feature that needs to be supported for anyone who has their solr core(s) defined elsewhere, and set up their solr home directory to point to those cores via symlinks. It's important to realize that this is the behavior that has always existed pre-5.4.0 by the nature of using the java.io package to listFiles.

      I'm attaching a PATCH with the appropriate fix.

      Attachments

        1. SOLR-8548.patch
          2 kB
          Aaron LaBella

        Activity

          People

            romseygeek Alan Woodward
            aaronlab Aaron LaBella
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: