You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2018/07/03 15:18:00 UTC
[jira] [Assigned] (LUCENE-8381) PendingSoftDeletes#onNewReader
should adjust soft-delete count
[ https://issues.apache.org/jira/browse/LUCENE-8381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Willnauer reassigned LUCENE-8381:
---------------------------------------
Assignee: Simon Willnauer
> PendingSoftDeletes#onNewReader should adjust soft-delete count
> --------------------------------------------------------------
>
> Key: LUCENE-8381
> URL: https://issues.apache.org/jira/browse/LUCENE-8381
> Project: Lucene - Core
> Issue Type: Bug
> Affects Versions: 7.4
> Reporter: Nhat Nguyen
> Assignee: Simon Willnauer
> Priority: Major
> Fix For: master (8.0), 7.5, 7.4.1
>
> Attachments: LUCENE-8381.patch
>
>
> The current PendingSoftDeletes#onNewReader does not handle these two edge cases correctly.
> # If the soft-deletes DV was applied to PendingSoftDeletes already, newDelCount should be less than the soft delete count recorded in SegmentInfo. testSoftDeleteWithTryUpdateDocValue trips the newSoftDelCount assertion.
> # If the soft-deleted docs were hard-deleted, we should reduce the softDelCount in the segmentInfo on a new reader.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org