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

Mark Miller commented on SOLR-3899:
-----------------------------------

I think the behavior is probably fine? Mostly this is just to inform - a change 
from null to the first dir seems fine to log if you are going to log subsequent 
changes. No biggie either way.

This should be info level and not warn IMO though. It's not a situation that 
warrants warning about.
                
> SolrCore.getNewIndexDir() always print warning
> ----------------------------------------------
>
>                 Key: SOLR-3899
>                 URL: https://issues.apache.org/jira/browse/SOLR-3899
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0-BETA
>         Environment: Windows 7 x64
> JDK 7u7-x64
>            Reporter: Tobias Bergman
>            Priority: Minor
>              Labels: patch
>             Fix For: 4.1, 5.0
>
>         Attachments: SolrCore.java.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> SolrCore.getNewIndexDir() will always log a warning on the first run. The 
> intention of the check was probably to see if the index dir changed between 
> invocations.
> I provide a SVN patch to solve the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to