mirror of https://github.com/apache/lucene.git
SOLR-9391: LBHttpSolrClient.request now correctly returns Rsp.server when previously skipped servers were successfully tried.
This commit is contained in:
parent
bbd1efe5d8
commit
250a867de2
|
@ -218,6 +218,9 @@ Bug Fixes
|
|||
|
||||
* SOLR-9032: Admin UI now correctly implements Create Alias command (Upayavira, Alexandre Rafalovitch)
|
||||
|
||||
* SOLR-9391: LBHttpSolrClient.request now correctly returns Rsp.server when
|
||||
previously skipped servers were successfully tried. (Christine Poerschke)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -358,7 +358,6 @@ public class LBHttpSolrClient extends SolrClient {
|
|||
}
|
||||
continue;
|
||||
}
|
||||
rsp.server = serverStr;
|
||||
try {
|
||||
MDC.put("LBHttpSolrClient.url", serverStr);
|
||||
HttpSolrClient client = makeSolrClient(serverStr);
|
||||
|
@ -410,6 +409,7 @@ public class LBHttpSolrClient extends SolrClient {
|
|||
boolean isZombie, String zombieKey) throws SolrServerException, IOException {
|
||||
Exception ex = null;
|
||||
try {
|
||||
rsp.server = client.getBaseURL();
|
||||
rsp.rsp = client.request(req.getRequest(), (String) null);
|
||||
if (isZombie) {
|
||||
zombieServers.remove(zombieKey);
|
||||
|
|
Loading…
Reference in New Issue