lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7301) updateNumericDocValue mixed with updateDocument can cause data loss in some randomized testing
Date Thu, 26 May 2016 14:59:13 GMT

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

Michael McCandless commented on LUCENE-7301:
--------------------------------------------

OK test fails for me:

{noformat}
1) testSomeSortOfWeirdFlushIssue(org.apache.lucene.index.TestNumericDocValuesUpdates)
java.lang.AssertionError: expected:<30000000026> but was:<30000000015>
	at __randomizedtesting.SeedInfo.seed([CD2F76A9BDF7F337:4B62C8600B01B35]:0)
	at org.junit.Assert.fail(Assert.java:93)
	at org.junit.Assert.failNotEquals(Assert.java:647)
	at org.junit.Assert.assertEquals(Assert.java:128)
	at org.junit.Assert.assertEquals(Assert.java:147)
	at org.apache.lucene.index.TestNumericDocValuesUpdates.testSomeSortOfWeirdFlushIssue(TestNumericDocValuesUpdates.java:121)
{noformat}

It fails on both 6.x and master ... so it's not related to index sorting (this was my first
guess!).

> updateNumericDocValue mixed with updateDocument can cause data loss in some randomized
testing
> ----------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-7301
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7301
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Hoss Man
>         Attachments: LUCENE-7301.patch
>
>
> SOLR-5944 has been held up by a while due to some extremely rare randomized test failures.
> Ishan and I have been working on whitling those Solr test failures down, trying to create
more isolated reproducable test failures, and i *think* i've tracked it down to a bug in IndexWriter
when the client calls to updateDocument intermixed with calls to updateNumericDocValue *AND*
IndexWriterConfig.setMaxBufferedDocs is very low (i suspect "how low" depends on the number
of quantity/types of updates -- but *just* got something that reproduced, and haven't tried
reproducing with higher values of maxBufferedDocs and larger sequences of updateDocument /
updateNumericDocValue calls.



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