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

Mark Miller reopened SOLR-2651:
-------------------------------


one more tweak needed here - we grab the new instance dir with:

{code}
    File instanceDir = new File(cd.getInstanceDir());
    if (!instanceDir.isAbsolute()) {
      instanceDir = new File(getSolrHome(), instanceDir.getName());
    }
{code}

Problem is, if you use a non absolute path that is deeper than one folder, you 
only get the last part of the path with instanceDir.getName() - it should 
simply be cd.getInstanceDir instead.

> The new SolrCore#reload method does not create a ZkSolrResourceLoader in 
> ZooKeeper mode
> ---------------------------------------------------------------------------------------
>
>                 Key: SOLR-2651
>                 URL: https://issues.apache.org/jira/browse/SOLR-2651
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.0
>
>         Attachments: SOLR-2651.patch, SOLR-2651.patch, SOLR-2651.patch
>
>
> this is a trunk bug
> reload is hard wired to simply make a SolrResourceLoader - this means that in 
> ZooKeeper mode, changes to config are not picked up on a reload - instead you 
> would get any local configs.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to