[ 
https://issues.apache.org/jira/browse/LUCENE-5201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrien Grand updated LUCENE-5201:
---------------------------------

    Attachment: LUCENE-5201.patch

This bugs needed two conditions to appear:
 - the input needs to be highly compressible so that there are collisions in 
the chain table used for finding references backwards in the stream,
 - the start offset needs to be > 0.

CompressingStoredFieldFormat only calls LZ4.compress(HC) with positive start 
offsets since LUCENE-5188 so this shouldn't have impact on people who were 
using CompressionMode.FAST_DECOMPRESSION (which seems to be confirmed by the 
fact that we never saw any test failure related to this until today, only a few 
minutes after I committed LUCENE-5188).

I was able to write a test case that reproduces the bug and changed the 
existing tests so that they don't only test compression with a start offset of 
0.
                
> Compression issue on highly compressible inputs with LZ4.compressHC
> -------------------------------------------------------------------
>
>                 Key: LUCENE-5201
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5201
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>             Fix For: 5.0, 4.5
>
>         Attachments: LUCENE-5201.patch
>
>
> LZ4.compressHC sometimes fails at compressing highly compressible inputs when 
> the start offset is > 0.

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to