Lucene - Core
  1. Lucene - Core
  2. LUCENE-6152

Fix double close bug in OutputStreamIndexOutput

    Details

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

      Description

      As discovered in LUCENE-6151, we shouldprevent calling flush() twice when closing OutputStreamIndexOutput two times.

      1. LUCENE-6152.patch
        1 kB
        Uwe Schindler

        Issue Links

          Activity

          Hide
          Uwe Schindler added a comment - - edited

          Patch. This also updates the links for reference.

          Show
          Uwe Schindler added a comment - - edited Patch. This also updates the links for reference.
          Hide
          Robert Muir added a comment -

          +1

          Show
          Robert Muir added a comment - +1
          Hide
          ASF subversion and git services added a comment -

          Commit 1648724 from Uwe Schindler in branch 'dev/trunk'
          [ https://svn.apache.org/r1648724 ]

          LUCENE-6152: Fix double close bug in OutputStreamIndexOutput

          Show
          ASF subversion and git services added a comment - Commit 1648724 from Uwe Schindler in branch 'dev/trunk' [ https://svn.apache.org/r1648724 ] LUCENE-6152 : Fix double close bug in OutputStreamIndexOutput
          Hide
          ASF subversion and git services added a comment -

          Commit 1648725 from Uwe Schindler in branch 'dev/branches/branch_5x'
          [ https://svn.apache.org/r1648725 ]

          Merged revision(s) 1648724 from lucene/dev/trunk:
          LUCENE-6152: Fix double close bug in OutputStreamIndexOutput

          Show
          ASF subversion and git services added a comment - Commit 1648725 from Uwe Schindler in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1648725 ] Merged revision(s) 1648724 from lucene/dev/trunk: LUCENE-6152 : Fix double close bug in OutputStreamIndexOutput
          Hide
          Anshum Gupta added a comment -

          Bulk close after 5.0 release.

          Show
          Anshum Gupta added a comment - Bulk close after 5.0 release.

            People

            • Assignee:
              Uwe Schindler
              Reporter:
              Uwe Schindler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development