lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4613) CompressingStoredFieldsWriter ignores the segment suffix if writing aborted
Date Tue, 11 Dec 2012 17:37:24 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529152#comment-13529152
] 

Adrien Grand commented on LUCENE-4613:
--------------------------------------

Actually, there is one test that still doesn't pass (but the test is bogus, not your patch):
  ant test  -Dtestcase=TestIndexFileDeleter -Dtests.method=testDeleteLeftoverFiles -Dtests.seed=A4C78ED2201BC821
-Dtests.slow=true -Dtests.codec=Compressing -Dtests.locale=es_UY -Dtests.timezone=Asia/Urumqi
-Dtests.file.encoding=US-ASCII
because it assumes the stored fields writer writes a file that ends with ".fdt" with no segment
suffix. I'm not sure of the best way to fix this test independently of a codec impl...

                
> CompressingStoredFieldsWriter ignores the segment suffix if writing aborted
> ---------------------------------------------------------------------------
>
>                 Key: LUCENE-4613
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4613
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/codecs
>    Affects Versions: 4.1
>            Reporter: Renaud Delbru
>             Fix For: 4.1
>
>         Attachments: LUCENE-4613.patch, LUCENE-4613.patch
>
>
> If the writing is aborted, CompressingStoredFieldsWriter does not remove partially-written
files as the segment suffix is not taken into consideration.

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message