You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Mayya Sharipova (Jira)" <ji...@apache.org> on 2021/06/23 13:44:00 UTC

[jira] [Closed] (SOLR-12100) TestPullReplica.testKillLeader fails when PULL replica has the same version but different generation from the leader

     [ https://issues.apache.org/jira/browse/SOLR-12100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mayya Sharipova closed SOLR-12100.
----------------------------------

Closing after the 8.9.0 release

> TestPullReplica.testKillLeader fails when PULL replica has the same version but different generation from the leader
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-12100
>                 URL: https://issues.apache.org/jira/browse/SOLR-12100
>             Project: Solr
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Tomas Eduardo Fernandez Lobbe
>            Assignee: Timothy Potter
>            Priority: Minor
>             Fix For: main (9.0), 8.9
>
>         Attachments: stdout.txt.zip
>
>
> Saw this failures in the BeastIt logs:
> {noformat}
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestPullReplica -Dtests.method=testKillLeader -Dtests.seed=CCF279559DA396A -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=sr-RS -Dtests.timezone=Africa/Dar_es_Salaam -Dtests.asserts=true -Dtests.file.encoding=ANSI_X3.4-1968
>    [junit4] FAILURE 60.5s | TestPullReplica.testKillLeader <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: Replica core_node4 not up to date after 10 seconds expected:<1> but was:<0>
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([CCF279559DA396A:45D9D3213B61AD3C]:0)
>    [junit4]    > 	at org.apache.solr.cloud.TestPullReplica.waitForNumDocsInAllReplicas(TestPullReplica.java:538)
>    [junit4]    > 	at org.apache.solr.cloud.TestPullReplica.doTestNoLeader(TestPullReplica.java:486)
>    [junit4]    > 	at org.apache.solr.cloud.TestPullReplica.testKillLeader(TestPullReplica.java:305)
>    [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
> {noformat}
> An interesting part of the logs is:
> {noformat}
> o.a.s.c.S.Request [pull_replica_test_kill_leader_shard1_replica_n1]  webapp=/solr path=/replication params={qt=/replication&wt=javabin&version=2&command=indexversion} status=0 QTime=0
>    [junit4]   2> 119221 INFO  (indexFetcher-265-thread-1) [n:127.0.0.1:35263_solr c:pull_replica_test_kill_leader s:shard1 r:core_node4 x:pull_replica_test_kill_leader_shard1_replica_p2] o.a.s.h.IndexFetcher Master's generation: 2
>    [junit4]   2> 119221 INFO  (indexFetcher-265-thread-1) [n:127.0.0.1:35263_solr c:pull_replica_test_kill_leader s:shard1 r:core_node4 x:pull_replica_test_kill_leader_shard1_replica_p2] o.a.s.h.IndexFetcher Master's version: 1520834006983
>    [junit4]   2> 119221 INFO  (indexFetcher-265-thread-1) [n:127.0.0.1:35263_solr c:pull_replica_test_kill_leader s:shard1 r:core_node4 x:pull_replica_test_kill_leader_shard1_replica_p2] o.a.s.h.IndexFetcher Slave's generation: 3
>    [junit4]   2> 119221 INFO  (indexFetcher-265-thread-1) [n:127.0.0.1:35263_solr c:pull_replica_test_kill_leader s:shard1 r:core_node4 x:pull_replica_test_kill_leader_shard1_replica_p2] o.a.s.h.IndexFetcher Slave's version: 1520834006983
>    [junit4]   2> 119221 INFO  (indexFetcher-265-thread-1) [n:127.0.0.1:35263_solr c:pull_replica_test_kill_leader s:shard1 r:core_node4 x:pull_replica_test_kill_leader_shard1_replica_p2] o.a.s.h.IndexFetcher Slave in sync with master.
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org