lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6136) IndexAndTaxonomyReplicationClientTest.testConsistencyOnExceptions failure
Date Wed, 24 Dec 2014 22:48:13 GMT

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

Robert Muir commented on LUCENE-6136:
-------------------------------------

exception is hit writing segments_k, but then the delete fails, twice (once in Directory.copy's
finally block, then again in cleanupFilesOnFailure).

because this segments_k cannot be deleted, then checkindex goes to use it, and gets a bunch
of FNFE, as expected.

the bug is not possible in 5.x because segments_N is written atomically there. in 4.x there
is not much that can be done IMO.

> IndexAndTaxonomyReplicationClientTest.testConsistencyOnExceptions failure
> -------------------------------------------------------------------------
>
>                 Key: LUCENE-6136
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6136
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Robert Muir
>
> This reproduces on 4.10:
> ant test  -Dtestcase=IndexAndTaxonomyReplicationClientTest -Dtests.method=testConsistencyOnExceptions
-Dtests.seed=DFD235D80B3C7F11 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=be_BY
-Dtests.timezone=Atlantic/Reykjavik -Dtests.file.encoding=ISO-8859-1



--
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