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/08/20 20:42:00 UTC
[jira] [Resolved] (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:all-tabpanel ]
Mike Drob resolved LUCENE-10017.
--------------------------------
Fix Version/s: main (9.0)
Assignee: Mike Drob
Resolution: Fixed
> 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
> Assignee: Mike Drob
> Priority: Major
> Fix For: main (9.0)
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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