Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6579

Unexpected merge exceptions should be tragic to IndexWriter

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.3, 6.0
    • None
    • None
    • New

    Description

      Today our behavior is weird: we will fail the merge (which is running in a background thread if you are using the default CMS), pause for 1.0 seconds, and then the next chance we get, kick off the merge again.

      I think this is a poor default, e.g. on disk full we will just keep "trying" and filling up disk again, wasting IO/CPU.

      I think IW should declare this a tragedy instead?

      Attachments

        1. LUCENE-6579.patch
          27 kB
          Michael McCandless

        Issue Links

          Activity

            People

              mikemccand Michael McCandless
              mikemccand Michael McCandless
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: