lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <>
Subject [jira] [Updated] (SOLR-6002) Fix SolrIndexWriter close and rollback.
Date Tue, 22 Apr 2014 16:06:17 GMT


Mark Miller updated SOLR-6002:

    Attachment: SOLR-6002.patch

New, better patch.

An issue we had previously is that close may or may not have called rollback and perhaps even
the reverse. It seems now that close always calls rollback, but we shouldn't really count
on that so I have changed things to assume that either may or may not call the other and SolrIndexWriter
will still properly clean up.

> Fix SolrIndexWriter close and rollback.
> ---------------------------------------
>                 Key: SOLR-6002
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Critical
>             Fix For: 4.9, 5.0
>         Attachments: SOLR-6002.patch, SOLR-6002.patch
> We tried jumping all kinds of hoops (unsuccessfully anyway) to *really* *really* close
an IndexWriter in the past, but Lucene wouldn't let you. Now that is fixed in Lucene and we
should update our close/rollback code.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message