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:
Mark Robert Miller 2013-03-16 17:53:31 +00:00
parent 8613df447f
commit 13c5526d07
2 changed files with 5 additions and 0 deletions

View File

@ -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
----------------------

View File

@ -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;
}
}
}