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 (Commented) (JIRA)" <ji...@apache.org> on 2011/11/27 21:23:39 UTC
[jira] [Commented] (LUCENE-3601) testIWondiskfull unreferenced
files failure
[ https://issues.apache.org/jira/browse/LUCENE-3601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13157990#comment-13157990 ]
Michael McCandless commented on LUCENE-3601:
--------------------------------------------
That exception is due to a real (latent) bug!
IW.addIndexes(Dir[]) just copies files over, converting them to 4.0 style CFS (_X.cfe and _X.cfs files), if necessary. But the original SI for the added segment has "version" still set to 3.1, so when SI.files() is called it thinks this segment does not have an _X.cfe file and so that file gets (incorrectly, leading to corruption) removed.
Not quite sure how to fix this...
> testIWondiskfull unreferenced files failure
> -------------------------------------------
>
> Key: LUCENE-3601
> URL: https://issues.apache.org/jira/browse/LUCENE-3601
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: Robert Muir
> Attachments: LUCENE-3601.patch
>
>
> NOTE: reproduce with: ant test -Dtestcase=TestIndexWriterOnDiskFull -Dtestmethod=testAddDocumentOnDiskFull -Dtests.seed=aff9b14dd518cfb:4d2f112726e2947f:-2b03094a43a947ee -Dtests.multiplier=3 -Dargs="-Dfile.encoding=ISO8859-1"
> Reproduces some of the time...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org