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

rollback/preparecommit thread hazard

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA, 6.0
    • None
    • None
    • New

    Description

      found by http://jenkins.sd-datasolutions.de/job/Lucene-Solr-4.x-Windows-Java7-64/70/

      rollback should never throw this exception, as it documents it clears any pendingcommits.

      but it calls closeInternal outside of any sync block, so it looks like there is a race here.

      Attachments

        1. LUCENE-4147.patch
          6 kB
          Michael McCandless
        2. LUCENE-4147.patch
          17 kB
          Michael McCandless
        3. LUCENE-4147.patch
          19 kB
          Simon Willnauer
        4. LUCENE-4147.patch
          20 kB
          Simon Willnauer
        5. LUCENE-4147.patch
          19 kB
          Simon Willnauer
        6. fail.log
          20 kB
          Michael McCandless
        7. fail.log
          2.91 MB
          Michael McCandless
        8. deadlock.log
          15 kB
          Michael McCandless

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: