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

Mikhail Khludnev commented on SOLR-10611:
-----------------------------------------

h3. FWIW
doFilter() throws SolrException (503) when is invoked before cores are assigned 
or container is stopped. However, jetty turns in 500, not what we really want. 
The correct way is to throw 
[UnavailableException|https://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/UnavailableException.html#UnavailableException(java.lang.String,
 int)] with or without timeout. Jetty turns it into 503 or *404* (Not Found) 
sic! Since after SOLR-10614 there is no case for former, it makes sense to 
approach the later case, just to be more http compliant. 

> TestLeaderElectionWithEmptyReplica failure on jenkins
> -----------------------------------------------------
>
>                 Key: SOLR-10611
>                 URL: https://issues.apache.org/jira/browse/SOLR-10611
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud, Tests
>            Reporter: Shalin Shekhar Mangar
>             Fix For: master (7.0)
>
>         Attachments: consoleText.txt, SOLR-10611.patch, SOLR-10611.patch
>
>
> See https://jenkins.thetaphi.de/job/Lucene-Solr-6.x-Windows/875/
> {code}
> FAILED:  org.apache.solr.cloud.TestLeaderElectionWithEmptyReplica.test
> Error Message:
> Shard shard1 replicas do not have same number of documents expected:<10> but 
> was:<0>
> Stack Trace:
> java.lang.AssertionError: Shard shard1 replicas do not have same number of 
> documents expected:<10> but was:<0>
>         at 
> __randomizedtesting.SeedInfo.seed([2093B412EF46AACD:A8C78BC841BAC735]:0)
>         at org.junit.Assert.fail(Assert.java:93)
>         at org.junit.Assert.failNotEquals(Assert.java:647)
>         at org.junit.Assert.assertEquals(Assert.java:128)
>         at org.junit.Assert.assertEquals(Assert.java:472)
>         at 
> org.apache.solr.cloud.TestLeaderElectionWithEmptyReplica.assertConsistentReplicas(TestLeaderElectionWithEmptyReplica.java:119)
>         at 
> org.apache.solr.cloud.TestLeaderElectionWithEmptyReplica.test(TestLeaderElectionWithEmptyReplica.java:101)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to