[ 
https://issues.apache.org/jira/browse/SOLR-8548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15101819#comment-15101819
 ] 

Aaron LaBella commented on SOLR-8548:
-------------------------------------

Alan, no particular reason other than I think it's silly to have the code check 
an unlimited number of directories/depth for the core.properties file.  I think 
2 or 3 at most would be a reasonable limit, not sure why anyone would want to 
bury their solr cores anymore beyond that.  Feel free to change that particular 
setting to whatever you feel is right.

Thanks.

> 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
>            Assignee: Alan Woodward
>            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