You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2016/02/23 18:19:18 UTC

[jira] [Created] (OAK-4044) Ungraceful shutdown of embedded Solr server can result in Solr index not usable

Tommaso Teofili created OAK-4044:
------------------------------------

             Summary: 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)