jpountz opened a new pull request #1593:
URL: https://github.com/apache/lucene-solr/pull/1593


   This changes terms and points to check the length of the index/data
   files before creating slices in these files. A side-effect of this is
   that we can no longer verify checksums of the meta file before checking
   the length of other files, but this shouldn't be a problem. On the other
   hand it helps make sure that we would return a clear exception in case
   of truncation instead of a confusing OutOfBoundsException that isn't
   clear whether it's due to index corruption or a bug in Lucene.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to