[
https://issues.apache.org/jira/browse/SOLR-17667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926199#comment-17926199
]
Houston Putman commented on SOLR-17667:
---------------------------------------
It's related in terms of this logic has a lot of room for improvement, but
these are entirely different improvements. I'm only fixing and improving how
the internal state management is done, not changing the contract with the users
or giving them more customization options.
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]