lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Attila Nagy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6098) Indexwriter changecount assertion fail with g1gc
Date Sat, 15 Sep 2018 14:43:00 GMT

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

Attila Nagy commented on LUCENE-6098:
-------------------------------------

This turns to be four years old soon. Is it safe to use G1GC with Lucene now?

> Indexwriter changecount assertion fail with g1gc
> ------------------------------------------------
>
>                 Key: LUCENE-6098
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6098
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Priority: Major
>         Attachments: LUCENE-6098.patch
>
>
> This failed on 1.8.0u25 G1GC and I was able to reproduce at least once, but not without
G1.
> {noformat}
> svn co -r 1643097 https://svn.eu.apache.org/repos/asf/lucene/dev/trunk
> cd trunk/lucene/core
> ant beast  -Dtestcase=TestStressDeletes -Dtests.method=test -Dtests.seed=C8F513C39231BFA2
-Dtests.slow=true -Dtests.locale=sk -Dtests.timezone=Singapore -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
-Dbeast.iters=1000 -Dargs="-XX:+UseG1GC" -Dtests.dups=8
> {noformat}
> I am not sure this is possible to debug, but the exception is scary:
> {noformat}
>    [junit4] Suite: org.apache.lucene.index.TestStressDeletes
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestStressDeletes -Dtests.method=test
-Dtests.seed=C8F513C39231BFA2 -Dtests.slow=true -Dtests.locale=sk -Dtests.timezone=Singapore
-Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
>    [junit4] ERROR   0.62s J5 | TestStressDeletes.test <<<
>    [junit4]    > Throwable #1: com.carrotsearch.randomizedtesting.UncaughtExceptionError:
Captured an uncaught exception in thread: Thread[id=68, name=Thread-30, state=RUNNABLE, group=TGRP-TestStressDeletes]
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([C8F513C39231BFA2:40A12C193CCDD25A]:0)
>    [junit4]    > Caused by: java.lang.AssertionError: lastCommitChangeCount=130 changeCount=128
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([C8F513C39231BFA2]:0)
>    [junit4]    > 	at org.apache.lucene.index.IndexWriter.startCommit(IndexWriter.java:4256)
>    [junit4]    > 	at org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2778)
>    [junit4]    > 	at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2881)
>    [junit4]    > 	at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2848)
>    [junit4]    > 	at org.apache.lucene.index.TestStressDeletes$1.run(TestStressDeletes.java:75)
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene50): {id=PostingsFormat(name=Direct)},
docValues:{}, sim=RandomSimilarityProvider(queryNorm=false,coord=no): {id=DFR I(ne)B1}, locale=sk,
timezone=Singapore
>    [junit4]   2> NOTE: Linux 3.13.0-35-generic amd64/Oracle Corporation 1.8.0_25 (64-bit)/cpus=8,threads=1,free=428019792,total=499646464
>    [junit4]   2> NOTE: All tests run in this JVM: [TestOmitNorms, Test2BPositions,
Nested2, Nested3, Nested1, Test2BPagedBytes, TestTermsEnum2, TestDoc, TestTwoPhaseCommitTool,
TestTimSorter, TestDocTermOrdsRangeFilter, TestWorstCaseTestBehavior, TestBasics, TestToken,
TestStressDeletes]
>    [junit4] Completed on J5 in 0.70s, 1 test, 1 error <<< FAILURES!
> {noformat}
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message