lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <>
Subject [jira] Updated: (LUCENE-2790) IndexWriter should call MP.useCompoundFile and not LogMP.getUseCompoundFile
Date Thu, 02 Dec 2010 14:00:17 GMT


Shai Erera updated LUCENE-2790:

    Attachment: LUCENE-2790.patch

Patch fixes the threading issue Earwin reported, by checking whether to create the CFS in
a sync block. Also, after discussing this on IRC, the code is further simplified by creating
the compound file before the new segment is committed.

However, some tests still fail on ConcurrentModException. I cannot debug it now, so am posting
the patch in case someone wants to take a stab. I can continue later. To reproduce the failure:

ant test -Dtestcase=TestIndexWriter -Dtestmethod=testDeleteUnusedFiles -Dtests.seed=-1861905402886420424:-8896948763797565454

> IndexWriter should call MP.useCompoundFile and not LogMP.getUseCompoundFile
> ---------------------------------------------------------------------------
>                 Key: LUCENE-2790
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>            Priority: Minor
>             Fix For: 3.1, 4.0
>         Attachments: LUCENE-2790.patch, LUCENE-2790.patch, LUCENE-2790.patch
> Spin off from here:
> I will attach a patch shortly that addresses the issue on trunk.

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