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

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4, 1.4.0
    • Component/s: solr
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: