[
https://issues.apache.org/jira/browse/SOLR-11673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mikhail Khludnev updated SOLR-11673:
------------------------------------
Description:
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.
was:
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].
it looks like this
{code}
2> 5913 INFO (indexFetcher-47-thread-1) [ x:collection1]
o.a.s.h.IndexFetcher Master's generation: 1
2> 5913 INFO (indexFetcher-47-thread-1) [ x:collection1]
o.a.s.h.IndexFetcher Master's version: 0
2> 5913 INFO (indexFetcher-47-thread-1) [ x:collection1]
o.a.s.h.IndexFetcher Slave's generation: 1
2> 5913 INFO (indexFetcher-47-thread-1) [ x:collection1]
o.a.s.h.IndexFetcher Slave's version: 0
2> 5913 INFO (indexFetcher-47-thread-1) [ x:collection1]
o.a.s.h.IndexFetcher New index in Master. Deleting mine...
{code}
Slave has launched.
{code}
2> 5915 INFO (qtp1591236769-56) [ x:collection1]
o.a.s.u.p.LogUpdateProcessorFactory [collection1] webapp=/solr path=/update
params={wt=javabin&version=2}{add=[2000]} 0 2
2> 5916 INFO (qtp1591236769-56) [ x:collection1]
o.a.s.u.DirectUpdateHandler2 start
commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,
{code}
commit in master
And slave miss it, since it reset to the same timestamp as master's commit
{code}
2> 6903 INFO (indexFetcher-47-thread-1) [ x:collection1]
o.a.s.h.IndexFetcher Master's generation: 2
2> 6904 INFO (indexFetcher-47-thread-1) [ x:collection1]
o.a.s.h.IndexFetcher Master's version: 1507446809140
2> 6904 INFO (indexFetcher-47-thread-1) [ x:collection1]
o.a.s.h.IndexFetcher Slave's generation: 2
2> 6904 INFO (indexFetcher-47-thread-1) [ x:collection1]
o.a.s.h.IndexFetcher Slave's version: 1507446809140
2> 6904 INFO (indexFetcher-47-thread-1) [ x:collection1]
o.a.s.h.IndexFetcher Slave in sync with master.
2> 6962 INFO (qtp922057044-80) [ x:collection1] o.a.s.c.S.Request
[collection1] webapp=/solr path=/select
params={q=*:*&sort=id+desc&wt=javabin&version=2} hits=0 status=0 QTime=0
2> 6964 INFO
(TEST-TestReplicationHandler.doTestIndexAndConfigReplication-seed#[C541E9C9CC845BA5])
[ ] o.a.s.h.TestReplicationHandler Waiting for 1 docs
{code}
..
{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.
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]