lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5958) OOM or exceptions during checkpoint make IndexWriter have a bad day
Date Fri, 19 Sep 2014 23:29:33 GMT

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

ASF subversion and git services commented on LUCENE-5958:
---------------------------------------------------------

Commit 1626366 from [~rcmuir] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1626366 ]

LUCENE-5958: add logic to merge exc handling as well

> OOM or exceptions during checkpoint make IndexWriter have a bad day
> -------------------------------------------------------------------
>
>                 Key: LUCENE-5958
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5958
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>             Fix For: 4.10.1, 5.0, Trunk
>
>         Attachments: LUCENE-5958.patch
>
>
> During finishCommit(), we run checkpoint after we wrote the commit to disk, but if things
go wrong here (e.g. IOError when IFD deletes a pending file, OOM), then everything will go
wrong (we won't even properly incref things, and may end out deleting wrong files if the user
calls rollback, leaving a corrupt index).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message