You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2015/01/07 08:23:34 UTC
[jira] [Created] (SOLR-6920) During replication use checksums to
verify if files are the same
Varun Thacker created SOLR-6920:
-----------------------------------
Summary: During replication use checksums to verify if files are the same
Key: SOLR-6920
URL: https://issues.apache.org/jira/browse/SOLR-6920
Project: Solr
Issue Type: Bug
Components: replication (java)
Reporter: Varun Thacker
Currently we check if an index file on the master and slave is the same by checking if it's name and file length match.
With LUCENE-2446 we now have a checksums for each index file in the segment. We should leverage this to verify if two files are the same.
Places like SnapPuller.isIndexStale and SnapPuller.downloadIndexFiles should check against the checksum also.
--
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