mirror of https://github.com/apache/lucene.git
SOLR-4573: Accessing Admin UI files in SolrCloud mode logs warnings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457281 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8613df447f
commit
13c5526d07
|
@ -134,6 +134,9 @@ Bug Fixes
|
|||
* SOLR-4592: DefaultSolrCoreState#doRecovery needs to check the CoreContainer
|
||||
shutdown flag inside the recoveryLock sync block. (Mark Miller)
|
||||
|
||||
* SOLR-4573: Accessing Admin UI files in SolrCloud mode logs warnings.
|
||||
(Mark Miller, Phil John)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -255,10 +255,12 @@ public class SolrDispatchFilter implements Filter
|
|||
} else {
|
||||
if (!retry) {
|
||||
// we couldn't find a core to work with, try reloading aliases
|
||||
// TODO: it would be nice if admin ui elements skipped this...
|
||||
ZkStateReader reader = cores.getZkController()
|
||||
.getZkStateReader();
|
||||
reader.updateAliases();
|
||||
doFilter(request, response, chain, true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue