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

Mark Miller commented on SOLR-6969:
-----------------------------------

You can't have two Solr severs trying to access the same files when configured 
properly. The index lock will prevent this before you get to tlog files. 

I do think a long term / full solution requires some discussion with some hdfs 
guys. I talked to Colin a little about it today. Sounds like it's kind of an 
ugly situation. 

> Just like we have to retry when the NameNode is in safemode on Solr startup, 
> we also need to retry when opening a transaction log file for append when we 
> get a RecoveryInProgressException.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-6969
>                 URL: https://issues.apache.org/jira/browse/SOLR-6969
>             Project: Solr
>          Issue Type: Bug
>          Components: hdfs
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Critical
>             Fix For: 5.0, Trunk
>
>
> This can happen after a hard crash and restart. The current workaround is to 
> stop and wait it out and start again. We should retry and wait a given amount 
> of time as we do when we detect safe mode though.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to