lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1611) Do not launch new merges if IndexWriter has hit OOME
Date Fri, 24 Apr 2009 22:01:31 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless updated LUCENE-1611:
---------------------------------------

    Attachment: LUCENE-1611.patch

Attached patch to prevent starting new merges after OOME, and to throw IllegalStateException
in optimize, expungeDeletes if OOME is hit.  I plan to commit in a day or two.

> Do not launch new merges if IndexWriter has hit OOME
> ----------------------------------------------------
>
>                 Key: LUCENE-1611
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1611
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.4.1
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 2.9
>
>         Attachments: LUCENE-1611.patch
>
>
> if IndexWriter has hit OOME, it defends itself by refusing to commit changes to the index,
including merges.  But this can lead to infinite merge attempts because we fail to prevent
starting a merge.
> Spinoff from http://www.nabble.com/semi-infinite-loop-during-merging-td23036156.html.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message