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

Mark Miller commented on SOLR-5656:
-----------------------------------

bq. Does this depend on SOLR-6237? 

No, that is a separate feature.

bq. but conceptually can't you end up with multiple replicas pointing to the 
same location on disk 

There are efforts to prevent his, I don't think it's likely, but we will 
improve this over time. There are settings that can be tuned around timing as 
well. I have done a fair amount of manual testing already, but the unit tests 
will be expanded over time.

bq. If so, what impact does this have with multiple solr instances (i.e. 
multiple replicas of a given shard) pointing to the same location on disk where 
each could be accepting write changes?

You should be running with the hdfs lock impl so that one of the SolrCores 
would fail to start.

I plan on committing this soon so that I don't have to keep it up to date with 
trunk. We can still iteratate if their are further comments. The feature is 
optional per collection and defaults to off.

> Add autoAddReplicas feature for shared file systems.
> ----------------------------------------------------
>
>                 Key: SOLR-5656
>                 URL: https://issues.apache.org/jira/browse/SOLR-5656
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>         Attachments: SOLR-5656.patch, SOLR-5656.patch, SOLR-5656.patch, 
> SOLR-5656.patch
>
>
> When using HDFS, the Overseer should have the ability to reassign the cores 
> from failed nodes to running nodes.
> Given that the index and transaction logs are in hdfs, it's simple for 
> surviving hardware to take over serving cores for failed hardware.
> There are some tricky issues around having the Overseer handle this for you, 
> but seems a simple first pass is not too difficult.
> This will add another alternative to replicating both with hdfs and solr.
> It shouldn't be specific to hdfs, and would be an option for any shared file 
> system Solr supports.
> https://reviews.apache.org/r/23371/



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to