Solr
  1. Solr
  2. SOLR-1596

rollback may be resulting ina SolrIndexWriter hat doesn't get closed properly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.1, 1.5, 3.1, 4.0-ALPHA
    • Component/s: update
    • Labels:
      None

      Description

      anecdotal evidence of "SEVERE: SolrIndexWriter was not closed prior to finalize" messages seen in the wild. May be related to using the "rollback" command...

      http://old.nabble.com/SEVERE%3A-SolrIndexWriter-was-not-closed-prior-to-finalize-to26217896.html#a26217896

      1. SOLR-1596.patch
        0.8 kB
        Yonik Seeley

        Activity

        Hide
        Yonik Seeley added a comment -

        Patch attached:

        • changes isClosed to a volatile
        • overrides IndexWriter.rollback() to set isClosed
        Show
        Yonik Seeley added a comment - Patch attached: changes isClosed to a volatile overrides IndexWriter.rollback() to set isClosed
        Hide
        Yonik Seeley added a comment -

        Committed. Thanks to Chantal for the original bug report and Hoss for following it up!

        Show
        Yonik Seeley added a comment - Committed. Thanks to Chantal for the original bug report and Hoss for following it up!
        Hide
        Hoss Man added a comment -

        Correcting Fix Version based on CHANGES.txt, see this thread for more details...

        http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E

        Show
        Hoss Man added a comment - Correcting Fix Version based on CHANGES.txt, see this thread for more details... http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E
        Hide
        Hoss Man added a comment -

        Committed revision 949897.

        merged to branch-1.4 for 1.4.1

        Show
        Hoss Man added a comment - Committed revision 949897. merged to branch-1.4 for 1.4.1

          People

          • Assignee:
            Unassigned
            Reporter:
            Hoss Man
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development