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

Better handling when index runs out of disk space

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Delivered
    • 1.2, 1.3
    • None
    • update
    • None
    • Linux/Debian etch

    Description

      We had an index run out of disk space. Queries work fine but commits return
      <h1>500 doc counts differ for segment _18lu: fieldsReader shows 104 but segmentInfo shows 212
      org.apache.lucene.index.CorruptIndexException: doc counts differ for segment _18lu: fieldsReader shows 104 but segmentInfo shows 212
      at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:191)
      I've made room, restarted resin, and now solr won't start. No useful messages in the startup, just a

      [21:01:49.105] Could not start SOLR. Check solr/home property
      [21:01:49.105] java.lang.NullPointerException
      [21:01:49.105] at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:100)

      Solr should warn the user and/or refuse commits when the index nears the end of disk space

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bwhitman Brian Whitman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: