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

ASF subversion and git services commented on LUCENE-8595:
---------------------------------------------------------

Commit f0db05b37ec5bda5edd35fcb0fb94c4b4a0d9089 in lucene-solr's branch 
refs/heads/master from [~simonw]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f0db05b ]

LUCENE-8595: Fix interleaved DV update and reset

This change fixes a bug where interleaved update and reset value
to the same doc in the same updates package looses an update
if the reset comes before the update as well as loosing the reset
if the update comes frist.

Co-authored-by: Adrien Grand <[email protected]>


> TestMixedDocValuesUpdates.testTryUpdateMultiThreaded fails
> ----------------------------------------------------------
>
>                 Key: LUCENE-8595
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8595
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: master (8.0)
>            Reporter: Michael McCandless
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> It does reproduce ... I haven't dug in:
>  
> {noformat}
>    [junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=TestMixedDocValuesUpdates 
> -Dtests.method=testTryUpdateMultiThreaded -Dtests.seed=E079543483688908 
> -Dtests.badapples=true -Dtests.loc\
> ale=mt-MT -Dtests.timezone=VST -Dtests.asserts=true 
> -Dtests.file.encoding=US-ASCII
>    [junit4] FAILURE 0.69s | 
> TestMixedDocValuesUpdates.testTryUpdateMultiThreaded <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: docID: 63
>    [junit4]    >        at 
> __randomizedtesting.SeedInfo.seed([E079543483688908:4809171572AE9A81]:0)
>    [junit4]    >        at 
> org.apache.lucene.index.TestMixedDocValuesUpdates.testTryUpdateMultiThreaded(TestMixedDocValuesUpdates.java:526)
>    [junit4]    >        at java.lang.Thread.run(Thread.java:745)
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene80): 
> {id=PostingsFormat(name=LuceneVarGapFixedInterval)}, 
> docValues:{value=DocValuesFormat(name=Lucene70)}, maxPointsInLeafNode=13\
> 12, maxMBSortInHeap=7.5990910168370895, 
> sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@e08c0f3),
>  locale=mt-MT, timezone=VST
>    [junit4]   2> NOTE: Linux 4.4.0-92-generic amd64/Oracle Corporation 
> 1.8.0_121 (64-bit)/cpus=8,threads=1,free=446496544,total=514850816
>    [junit4]   2> NOTE: All tests run in this JVM: [TestMixedDocValuesUpdates]
>    [junit4] Completed [1/1 (1!)] in 0.83s, 1 test, 1 failure <<< 
> FAILURES!{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to