lucene-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/SOLR-6002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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: https://issues.apache.org/jira/browse/SOLR-6002
>             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
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message