intermittant exceptions in TestConcurrentMergeScheduler -------------------------------------------------------
Key: LUCENE-1018 URL: https://issues.apache.org/jira/browse/LUCENE-1018 Project: Lucene - Java Issue Type: Bug Components: Index Affects Versions: 2.3 Reporter: Michael McCandless Assignee: Michael McCandless Priority: Minor Fix For: 2.3 Attachments: LUCENE-1018.patch The TestConcurrentMergeScheduler throws intermittant exceptions that do not result in a test failure. The exception happens in the "testNoWaitClose()" test, which repeated tests closing an IndexWriter with "false", meaning abort any still-running merges. When a merge is aborted it can hit various exceptions because the files it is reading and/or writing have been deleted, so we ignore these exceptions. The bug was just that we were failing to properly check whether the running merge was actually aborted because of a scoping issue of the "merge" variable in ConcurrentMergeScheduler. So the exceptions are actually "harmless". Thanks to Ning for spotting it! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]