[
https://issues.apache.org/jira/browse/LUCENE-5330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Willnauer updated LUCENE-5330:
------------------------------------
Attachment: LUCENE-5330.patch
here is a patch that adds asserts and beefs up a test that fails without the
patch
> IndexWriter doesn't process all events on getReader / close / rollback
> ----------------------------------------------------------------------
>
> Key: LUCENE-5330
> URL: https://issues.apache.org/jira/browse/LUCENE-5330
> Project: Lucene - Core
> Issue Type: Bug
> Affects Versions: 4.5, 5.0
> Reporter: Simon Willnauer
> Fix For: 4.6, 5.0
>
> Attachments: LUCENE-5330.patch
>
>
> IndexWriter misses to apply all pending events in getReader() as well as
> close() / rollback(). This can lead to files that never get deleted or only
> very very late. If you are using RAM Directories for instance this quickly
> fills up a huge amount of memory. It might not be super critical in
> production and it also doesn't cause any data loss or index corruption.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]