You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2013/11/06 12:38:19 UTC

[jira] [Commented] (LUCENE-5330) IndexWriter doesn't process all events on getReader / close / rollback

    [ https://issues.apache.org/jira/browse/LUCENE-5330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814805#comment-13814805 ] 

Michael McCandless commented on LUCENE-5330:
--------------------------------------------

Hmm, besides deleting files too late, are there any other problems caused here?

E.g., if an app that only flushes via getReader, would this mean a merge never kicks off (merge starvation)?

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org