[ 
https://issues.apache.org/jira/browse/SOLR-8548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aaron LaBella updated SOLR-8548:
--------------------------------
    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.

  was:
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 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 as 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.


> CorePropertiesLocator does NOT follow symlinks anymore
> ------------------------------------------------------
>
>                 Key: SOLR-8548
>                 URL: https://issues.apache.org/jira/browse/SOLR-8548
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.4
>            Reporter: Aaron LaBella
>            Priority: Blocker
>         Attachments: SOLR-8548.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to