[
https://issues.apache.org/jira/browse/LUCENE-5330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814862#comment-13814862
]
Simon Willnauer commented on LUCENE-5330:
-----------------------------------------
mike thanks for the test! Indeed it takes care of merging though. The issue
manifests pretty quickly if you use RAM directory and exclusively pull NRT
readers. It will simply keep the files that should be deleted around until the
queue gets purged.
> 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
> Assignee: 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]