You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2016/02/05 15:01:39 UTC

[jira] [Commented] (SOLR-8548) CorePropertiesLocator does NOT follow symlinks anymore

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

Shawn Heisey commented on SOLR-8548:
------------------------------------

We could bikeshed about the default depth limit forever. :)

I think the default depth limit for software in Linux is 9.  256 seems rather high.  The number I thought of was 16.  Ultimately it's not up to me, as I'm not the one working on it, but there's my two cents.


> 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
>             Fix For: 5.5
>
>         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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org