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

Simplify AbortingException handling and tragic event logic

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.4, 8.0
    • 7.4, 8.0
    • None
    • None
    • New

    Description

      Today we try to signal via exception handling if an exception is aborting
      and/or a tragic event. This causes today that we ignore certain exception if we
      are in the process of handling a such which is generally bad practice. This
      change simplify the signaling of aborting exceptions and separates acting on
      tragic events and closing the writer because of a tragic event. This in-turn
      simplifies lock ordering since we never acquire a lock anymore inside the
      tragic event code.

      Attachments

        1. image-2018-03-15-15-30-16-757.png
          50 kB
          Uwe Schindler
        2. LUCENE-8205.patch
          55 kB
          Simon Willnauer
        3. LUCENE-8205.patch
          55 kB
          Simon Willnauer

        Activity

          People

            simonw Simon Willnauer
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: