[
https://issues.apache.org/jira/browse/OAK-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tommaso Teofili resolved OAK-4044.
----------------------------------
Resolution: Fixed
fixed in r1731908
> Ungraceful shutdown of embedded Solr server can result in Solr index not
> usable
> -------------------------------------------------------------------------------
>
> Key: OAK-4044
> URL: https://issues.apache.org/jira/browse/OAK-4044
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: solr
> Reporter: Tommaso Teofili
> Assignee: Tommaso Teofili
> Priority: Critical
> Fix For: 1.3.17
>
>
> When using the embedded Solr server it can happen that ungraceful shutdown of
> repository and/or index (e.g. when SolrServer#shutdown is not called) can
> result in leftover write.lock file in the _dataDir_ and hence it's not
> possible to restart the same embedded Solr server (even upon repository
> restart) unless the lock file is manually removed.
> {{EmbeddedSolrServerProvider}} should check for such leftover lock files and
> eventually remove them upon server start.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)