Lucene - Core
  1. Lucene - Core
  2. LUCENE-6790

Rollback (during tragic exception) should wait for concurrent commit to finish

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Causes this test failure: http://build-eu-00.elastic.co/job/lucene_linux_java8_64_test_only/63025/

      This is a regression, caused by LUCENE-6579 ... I remember hitting deadlock on that issue ... I'll try to add back acquiring the commitLock before rollback ...

      The issue happens if one thread is committing while another thread is handling a tragedy...

      1. LUCENE-6790.patch
        1.0 kB
        Michael McCandless

        Activity

        Hide
        Michael McCandless added a comment -

        Patch, adding back the sync(commitLock) ... seems to fix the failure!

        Show
        Michael McCandless added a comment - Patch, adding back the sync(commitLock) ... seems to fix the failure!
        Hide
        ASF subversion and git services added a comment -

        Commit 1702798 from Michael McCandless in branch 'dev/trunk'
        [ https://svn.apache.org/r1702798 ]

        LUCENE-6790: block commit while rollback runs

        Show
        ASF subversion and git services added a comment - Commit 1702798 from Michael McCandless in branch 'dev/trunk' [ https://svn.apache.org/r1702798 ] LUCENE-6790 : block commit while rollback runs
        Hide
        ASF subversion and git services added a comment -

        Commit 1702799 from Michael McCandless in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1702799 ]

        LUCENE-6790: block commit while rollback runs

        Show
        ASF subversion and git services added a comment - Commit 1702799 from Michael McCandless in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1702799 ] LUCENE-6790 : block commit while rollback runs

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development