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

CorePropertiesLocator does NOT follow symlinks anymore

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.5
    • Component/s: None
    • Labels:
      None
    • Flags:
      Patch, Important

      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: