You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2017/10/11 18:05:00 UTC
[jira] [Commented] (SOLR-11469) LeaderElectionContextKeyTest has
flawed logic: 50% of the time it checks the wrong shard's elections
[ https://issues.apache.org/jira/browse/SOLR-11469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16200697#comment-16200697 ]
Hoss Man commented on SOLR-11469:
---------------------------------
[~shalinmangar] & [~caomanhdat] - it looks like you guys worked on this test as part of SOLR-5245 ... any suggestions how to make it work reliably based on the problems i've diagnosed?
> LeaderElectionContextKeyTest has flawed logic: 50% of the time it checks the wrong shard's elections
> ----------------------------------------------------------------------------------------------------
>
> Key: SOLR-11469
> URL: https://issues.apache.org/jira/browse/SOLR-11469
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Hoss Man
> Attachments: SOLR-11469.patch
>
>
> LeaderElectionContextKeyTest is very flaky -- and on millers beastit reports it shows a suspiciously close to "50%" failure rate.
> Digging into the test i realized that it creates a 2 shard index, then picks "a leader" to kill (arbitrarily) and then asserts that the leader election nodes for *shard1* are affected ... so ~50% of the time it kills the shard2 leader and then fails because it doesn't see an election in shard1.
--
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