You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Robert Muir (Jira)" <ji...@apache.org> on 2022/05/11 12:56:00 UTC
[jira] [Commented] (LUCENE-9409) TestAllFilesDetectTruncation failures
[ https://issues.apache.org/jira/browse/LUCENE-9409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17534878#comment-17534878 ]
Robert Muir commented on LUCENE-9409:
-------------------------------------
the test also doesn't account for the case that you might truncate and happen to have CODEC_MAGIC bytes at the right place...
> TestAllFilesDetectTruncation failures
> -------------------------------------
>
> Key: LUCENE-9409
> URL: https://issues.apache.org/jira/browse/LUCENE-9409
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Priority: Minor
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> The Elastic CI found a seed that reproducibly fails TestAllFilesDetectTruncation.
> https://elasticsearch-ci.elastic.co/job/apache+lucene-solr+nightly+branch_8x/85/console
> This is a consequence of LUCENE-9396: we now check for truncation after creating slices, so in some cases you would get an IndexOutOfBoundsException rather than CorruptIndexException/EOFException if out-of-bounds slices get created.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org