Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3156

Check for locks on startup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6, 4.0-ALPHA
    • None
    • None

    Description

      When using simple or native lockType and the application server is not shutdown properly (kill -9), you don't notice problems until someone tries to add or delete a document. In fact, you get errors every time Solr opens a new IndexWriter on the "locked" index. I'm aware of the unlockOnStartup option, but I'd prefer to know and act properly when there's a lock, and I think it would be better to know on startup, since Solr is not going to work properly.

      Attachments

        1. SOLR-3156.patch
          8 kB
          Luca Cavanna
        2. SOLR-3156.patch
          20 kB
          Luca Cavanna

        Activity

          People

            martijn.v.groningen Martijn van Groningen
            lucacavanna Luca Cavanna
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: