You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Nhat Nguyen (Jira)" <ji...@apache.org> on 2020/09/06 15:17:00 UTC

[jira] [Resolved] (LUCENE-9482) There is a problem with the description of "invalid deletion count" exception.

     [ https://issues.apache.org/jira/browse/LUCENE-9482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nhat Nguyen resolved LUCENE-9482.
---------------------------------
    Resolution: Fixed

> There is a problem with the description of "invalid deletion count" exception.
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-9482
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9482
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>            Reporter: wenyao
>            Priority: Trivial
>             Fix For: master (9.0), 8.7, 8.6.3
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> class: org.apache.lucene.index.SegmentInfos#376
> throw new CorruptIndexException("invalid deletion count: " + softDelCount + delCount + " vs maxDoc=" + info.maxDoc(), input);
> It needs to be changed to:
> throw new CorruptIndexException("invalid deletion count: " + (softDelCount + delCount) + " vs maxDoc=" + info.maxDoc(), input); // todo softDelCount + delCount should merge



--
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