Houston Putman created SOLR-17667:
-------------------------------------

             Summary: Simplify and cleanup zombie server logic in LBSolrClient
                 Key: SOLR-17667
                 URL: https://issues.apache.org/jira/browse/SOLR-17667
             Project: Solr
          Issue Type: Improvement
          Components: SolrJ
            Reporter: Houston Putman


Currently the Zombie server logic is quite complex, a list of alive servers and 
a list of zombie servers. When moving servers between these lists, things can 
get lost. Additionally, the logic is different when using a request that 
contains a list of URLS. So zombies can be dropped always in some case, not 
being added back to the alive list.

It would be easier to have a list of allServers for a client, and a map of 
zombieServers. If the server in allServers is not in the zombieServers map, it 
can be considered alive.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to