lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Khludnev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-11673) ReplicationHandler race-condition between deleting slave index and commit in master
Date Tue, 12 Dec 2017 06:33:00 GMT

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

Mikhail Khludnev commented on SOLR-11673:
-----------------------------------------

Build: https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-Linux/977/
Java: 64bit/jdk-10-ea+32 -XX:-UseCompressedOops -XX:+UseSerialGC

1 tests failed.
FAILED:  org.apache.solr.handler.TestReplicationHandler.doTestIndexAndConfigReplication

Error Message:
Index 0 out-of-bounds for length 0

Stack Trace:
java.lang.IndexOutOfBoundsException: Index 0 out-of-bounds for length 0
        at __randomizedtesting.SeedInfo.seed([5212D7D20AA5CB57:465A8C8729A27649]:0)
        at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
        at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
        at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
        at java.base/java.util.Objects.checkIndex(Objects.java:372)
        at java.base/java.util.ArrayList.get(ArrayList.java:440)
        at org.apache.solr.handler.TestReplicationHandler.doTestIndexAndConfigReplication(TestReplicationHandler.java:561)

> ReplicationHandler race-condition between deleting slave index and commit in master
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-11673
>                 URL: https://issues.apache.org/jira/browse/SOLR-11673
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mikhail Khludnev
>         Attachments: SOLR-11673-reproducer.patch, SOLR-11673-skipCommitOnMasterVersionZero.patch,
SOLR-11673-test-fix.patch, doTestIndexAndConfigReplication-consoleText.txt
>
>
> failure in master [described in SOLR-6228|https://issues.apache.org/jira/browse/SOLR-6228?focusedCommentId=16266007&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16266007].
> {code}
>   2> NOTE: reproduce with: ant test  -Dtestcase=TestReplicationHandler -Dtests.method=doTestIndexAndConfigReplication
-Dtests.seed=C541E9C9CC845BA5 -Dtests.slow=true -Dtests.locale=es-BO -Dtests.timezone=Africa/Addis_Ababa
-Dtests.asserts=true -Dtests.file.encoding=US-ASCII
> [10:13:23.442] ERROR   36.6s | TestReplicationHandler.doTestIndexAndConfigReplication
<<<
>    > Throwable #1: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>    >    at __randomizedtesting.SeedInfo.seed([C541E9C9CC845BA5:D109B29CEF83E6BB]:0)
>    >    at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>    >    at java.util.ArrayList.get(ArrayList.java:429)
>    >    at org.apache.solr.handler.TestReplicationHandler.doTestIndexAndConfigReplication(TestReplicationHandler.java:561)
> {code}
> Easily reproducible in master by beast.  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message