Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
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.