You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2015/10/04 07:38:26 UTC

[jira] [Created] (SOLR-8119) Detect index corruption for all files on replication

Shalin Shekhar Mangar created SOLR-8119:
-------------------------------------------

             Summary: Detect index corruption for all files on replication
                 Key: SOLR-8119
                 URL: https://issues.apache.org/jira/browse/SOLR-8119
             Project: Solr
          Issue Type: Improvement
          Components: replication (java)
            Reporter: Shalin Shekhar Mangar
             Fix For: Trunk, 5.4


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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