[ https://issues.apache.org/jira/browse/LUCENE-8484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Willnauer updated LUCENE-8484: ------------------------------------ Description: Today we can only wrap readers in SubReaderWrapper but never filter them out entirely. This causes a invariant for soft-deletes that exposes fully deleted segments with SoftDeletesDirectoryReaderWrapper. This change drops fully deleted readers after they are wrapped. was: Today we can only wrap readers in SubReaderWrapper but never filter them out entirely. This causes a invariant for soft-deletes that exposes fully deleted segments with SoftDeletesDirectoryReaderWrapper. > Drop fully deleted reader in SubReaderWrapper > --------------------------------------------- > > Key: LUCENE-8484 > URL: https://issues.apache.org/jira/browse/LUCENE-8484 > Project: Lucene - Core > Issue Type: Improvement > Affects Versions: 7.5, master (8.0) > Reporter: Simon Willnauer > Priority: Minor > Fix For: 7.5, master (8.0) > > Time Spent: 10m > Remaining Estimate: 0h > > Today we can only wrap readers in SubReaderWrapper but never filter them out > entirely. This causes a invariant for soft-deletes that exposes fully deleted > segments with SoftDeletesDirectoryReaderWrapper. This change drops fully > deleted readers after they are wrapped. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org