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

Andy Fowler commented on SOLR-4773:
-----------------------------------

Just to throw in my $0.02 as an app developer and solr consumer w/ far less 
knowledge on the rest of the worlds' use cases: if I accidentally put solr into 
a state where two cores were sharing a dataDir, I would really want some sort 
of strong warning, or just an absolute failure.

I really like the way that cores are moving to being just a simple directory on 
the FS, rather than a block in a monolithic XML file. But if the cores are 
moving toward more backing by directory + properties file, it seems like 
accidentally sharing a dataDir could be a really bad thing.
                
> New discovery mode needs to ensure that instanceDir is correct
> --------------------------------------------------------------
>
>                 Key: SOLR-4773
>                 URL: https://issues.apache.org/jira/browse/SOLR-4773
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>    Affects Versions: 5.0, 4.4
>            Reporter: Erick Erickson
>            Assignee: Mark Miller
>             Fix For: 5.0, 4.4
>
>         Attachments: SOLR-4773.patch, SOLR-4773.patch
>
>
> Doing a fresh checkout of 4.x (trunk to to I think) and firing up the example 
> fails because we can't find solrconfig. The construction of the instanceDir 
> in SolrCoreDiscoverer constructs a path with an extra solr (e.g. 
> solr/solr/core).
> I'll attach a patch shortly.

--
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