[
https://issues.apache.org/jira/browse/LUCENE-5958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137020#comment-14137020
]
Robert Muir commented on LUCENE-5958:
-------------------------------------
here is a 4.x seed:
ant test -Dtestcase=TestIndexWriterOutOfMemory -Dtests.method=testBasics
-Dtests.seed=EEE122F7078D3AF2 -Dtests.slow=true -Dtests.locale=ro
-Dtests.timezone=Asia/Ho_Chi_Minh -Dtests.file.encoding=ISO-8859-1
in this case, we get an exception during IFD.deleteFile (one that isnt an
IOException), and it happens during deletePendingFiles...
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]