[
https://issues.apache.org/jira/browse/LUCENE-3601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13157992#comment-13157992
]
Michael McCandless commented on LUCENE-3601:
--------------------------------------------
This test also fails, with a real (latent) bug!
{noformat}
ant test-core -Dtestcase=TestDeletionPolicy
-Dtestmethod=testKeepNoneOnInitDeletionPolicy
-Dtests.seed=-17f17ea52e636aba:125dd8f860320fcc:4884454c77ab99f3
-Dargs="-Dfile.encoding=UTF-8"
{noformat}
I think the problem here is we are failing to IFD.incRef the global _N.fnx file
implicitly referenced by the in-memory SegmentInfos, and so IFD deletes it when
it should not, leading to corruption.
To fix this one we need incRef (and matching decRef) somewhere...
> 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: [email protected]
For additional commands, e-mail: [email protected]