Igor Fedorenko created MINDEXER-71: -------------------------------------- Summary: Do not implicitely close indexing context Key: MINDEXER-71 URL: https://jira.codehaus.org/browse/MINDEXER-71 Project: Maven Indexer Issue Type: Bug Affects Versions: 5.1.0 Reporter: Igor Fedorenko
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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira