Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4044

Ungraceful shutdown of embedded Solr server can result in Solr index not usable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 1.4, 1.4.0
    • solr
    • None

    Description

      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.

      Attachments

        Activity

          People

            teofili Tommaso Teofili
            teofili Tommaso Teofili
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: