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

Unexpected merge exceptions should be tragic to IndexWriter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: