Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8119

Detect index corruption for all files on replication

    XMLWordPrintableJSON

Details

    Description

      Lucene writes checksums for large files but they aren't verified until a merge is necessary because it'd be too costly to go through the entire bytes. Only truncation of such files is checked during open. However, index replication is one activity that has to go through the entire file anyway so we can be more aggressive than Lucene in validating the checksum.

      I propose that we validate all files, large and small, during replication.

      Attachments

        Activity

          People

            Unassigned Unassigned
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: