[
https://issues.apache.org/jira/browse/MINDEXER-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965251#comment-17965251
]
Olivier Lamy commented on MINDEXER-71:
--------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-indexer#504|https://github.com/apache/maven-indexer/issues/504].
> Do not implicitely close indexing context
> -----------------------------------------
>
> Key: MINDEXER-71
> URL: https://issues.apache.org/jira/browse/MINDEXER-71
> Project: Maven Indexer (Moved to GitHub Issues)
> Issue Type: Bug
> Affects Versions: 5.1.0
> Reporter: Igor Fedorenko
> Assignee: igorfie
> Priority: Major
> Fix For: 5.1.1
>
>
> Indexing context #rollback, #commit and #optimize operations
> were implicitely closing indexing context in case of
> IOException and CorruptIndexException. This behaviour is
> counter-intuitive. It is also harmful when triggered
> from within acquireIndexSearcher-finally-releaseIndexSearcher
> block, in which case releaseIndexSearcher fails with NPE,
> which in turn masks original exception and makes
> troubleshooting of the problem much harder than it should be.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)