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

Mike Drob updated SOLR-9555:
----------------------------
    Attachment: SOLR-9555-WIP-3.patch

Looking at the {{ForceLeaderTest}} code snippet that you posted, 
[[email protected]], I don't think we can reorder to kill the leader 
first. We close the followers' connections, and then need to send a doc so that 
it can fail to distribute and that is what triggers the LIR. 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. 
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.

Intermittently, {{ForceLeaderTest::testReplicasInLIRNoLeader}} will still fail 
for me, and I haven't figured that one out yet since I haven't caught it with a 
reproducible seed yet.

I've had a few more other test failures in the total suite, but I think this 
patch is getting close to finished.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to