lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Updated: (LUCENE-1018) intermittant exceptions in TestConcurrentMergeScheduler
Date Thu, 04 Oct 2007 16:19:50 GMT


Michael McCandless updated LUCENE-1018:

    Attachment: LUCENE-1018.patch

Attached patch, fixing the scoping issue Ning found and also a few
other small issues and adding more verbosity when infoStream is set.

I plan to commit in a few days.

> intermittant exceptions in TestConcurrentMergeScheduler
> -------------------------------------------------------
>                 Key: LUCENE-1018
>                 URL:
>             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:
For additional commands, e-mail:

View raw message