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 Fri, 06 Apr 2018 07:32:00 GMT

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

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

the matter of fact, after startup slave constantly spinning in [^replication spin was.txt]
(it's pre SOLR-11673 spin), the spin after SOLR-11673 is almost the same [^replication spin
now.txt], but slave doesn't increase the version. It spins until the first master commit and
isn't caused by SOLR-11673. 

> 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
>            Assignee: Mikhail Khludnev
>            Priority: Major
>             Fix For: 7.4, master (8.0)
>
>         Attachments: SOLR-11673-reproducer.patch, SOLR-11673-skipCommitOnMasterVersionZero.patch,
SOLR-11673-test-fix.patch, SOLR-11673.patch, doTestIndexAndConfigReplication-consoleText.txt,
replication spin was.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
(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