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:11:00 UTC
[jira] [Created] (LUCENE-10017) Do not check footers on Lucene7x
segments when throwing IndexFormatTooOld
Mike Drob created LUCENE-10017:
----------------------------------
Summary: 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
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