You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2014/04/04 22:39:16 UTC

[jira] [Created] (LUCENE-5578) Stored fields might accumulate checksums on merges

Adrien Grand created LUCENE-5578:
------------------------------------

             Summary: Stored fields might accumulate checksums on merges
                 Key: LUCENE-5578
                 URL: https://issues.apache.org/jira/browse/LUCENE-5578
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Adrien Grand
            Assignee: Adrien Grand
            Priority: Blocker
             Fix For: 4.8


The bulk merge operation of our stored fields format is optimized in order to avoid decompressing data when not needed. In order to know the offset of the end of the current block, it either consults the stored fields index, or uses {{fieldsStream.length()}} for the last chunk.

However, we just added checksums at the end of index files, so it might currently copy the current checksum in addition to the last chunk, and then write a new checksum.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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