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

Mark Miller commented on SOLR-9555:
-----------------------------------

bq. So I get the impression that closing a proxy only prevents inbound 
connections, not outbound connections, which is why the followers are able to 
recover gracefully. 

Yes, the idea of the proxy is simple afaik. It pipes from one port to another, 
and so lets you cut off the connection or play other weird games if you want. 
The is the port jetty listens out, there is no interaction without outbound 
connections. That is why the ForceLeaderTest is not written correctly. I think 
you can write it correctly as I describe above though with a few simple changes.

bq. Interestingly, removing the 2 second sleep allows the test to pass for me, 
and I can't see how it invalidates the premises under test here.

I don't know that it invalidates anything, it just is a little flakey and 
failure prone to count on something like this, especially with all the env and 
gc events and parallel tests we run. We want rock solid.

> Leader incorrectly publishes state for replica when it puts replica into LIR.
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-9555
>                 URL: https://issues.apache.org/jira/browse/SOLR-9555
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Alan Woodward
>         Attachments: SOLR-9555-WIP-2.patch, SOLR-9555-WIP-3.patch, 
> SOLR-9555-WIP.patch
>
>
> See 
> https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/17888/consoleFull 
> for an example



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to