s1monw commented on issue #616: LUCENE-8734: Record nextWriteGens in SegmentCommitInfo URL: https://github.com/apache/lucene-solr/pull/616#issuecomment-475646628 @dnhatn actually making this change: ```diff diff --git a/lucene/core/src/java/org/apache/lucene/store/FilterDirectory.java b/lucene/core/src/java/org/apache/lucene/store/FilterDirectory.java index 7b2a6c702d..c2faaf4d0c 100644 --- a/lucene/core/src/java/org/apache/lucene/store/FilterDirectory.java +++ b/lucene/core/src/java/org/apache/lucene/store/FilterDirectory.java @@ -117,6 +117,6 @@ public abstract class FilterDirectory extends Directory { @Override public Set<String> getPendingDeletions() throws IOException { - return super.getPendingDeletions(); + return in.getPendingDeletions(); } } ``` seems to have fixed the issue since it should take the deleted files into account. Maybe we should just fix the issue with FilterDirectory @henningandersen found [here](https://github.com/elastic/elasticsearch/pull/40345)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
