Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5578

Stored fields might accumulate checksums on merges

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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.

        Attachments

        1. LUCENE-5578.patch
          22 kB
          Adrien Grand
        2. LUCENE-5578.patch
          33 kB
          Adrien Grand
        3. LUCENE-5578.patch
          32 kB
          Adrien Grand
        4. LUCENE-5578.patch
          0.8 kB
          Adrien Grand

          Issue Links

            Activity

              People

              • Assignee:
                jpountz Adrien Grand
                Reporter:
                jpountz Adrien Grand
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: