You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Mike Drob (Jira)" <ji...@apache.org> on 2021/07/01 22:12:00 UTC

[jira] [Commented] (LUCENE-10017) Do not check footers on Lucene7x segments when throwing IndexFormatTooOld

    [ https://issues.apache.org/jira/browse/LUCENE-10017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17373075#comment-17373075 ] 

Mike Drob commented on LUCENE-10017:
------------------------------------

I'm not sure if this is "blocker" level but I really would want this considered before we make a 9.0 release.

> Do not check footers on Lucene7x segments when throwing IndexFormatTooOld
> -------------------------------------------------------------------------
>
>                 Key: LUCENE-10017
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10017
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: main (9.0)
>            Reporter: Mike Drob
>            Priority: Major
>
> Ran into this while investigating how to improve the logging situation in SOLR-15516
> When we throw an IndexFormatTooOldException when attempting to read a segment, we will read still attempt to read the footer since it is newer than 7x (which AFAIUI was the oldest version to support these footers?)
> We should update that to only check footers for versions newer than 8x, otherwise we create a needless additional exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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