mirror of https://github.com/apache/lucene.git
SOLR-6641: SystemInfoHandler should include the zkHost the node is using (when running in solrcloud mode)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633621 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
62bf86a2e1
commit
6d6ed37027
|
@ -343,6 +343,9 @@ Other Changes
|
|||
* SOLR-6592: Avoid waiting for the leader to see the down state if that leader is not live.
|
||||
(Timothy Potter)
|
||||
|
||||
* SOLR-6641: SystemInfoHandler should include the zkHost the node is using (when running in solrcloud mode)
|
||||
(Timothy Potter)
|
||||
|
||||
================== 4.10.1 ==================
|
||||
|
||||
Bug Fixes
|
||||
|
|
|
@ -92,6 +92,9 @@ public class SystemInfoHandler extends RequestHandlerBase
|
|||
if (core != null) rsp.add( "core", getCoreInfo( core, req.getSchema() ) );
|
||||
boolean solrCloudMode = getCoreContainer(req, core).isZooKeeperAware();
|
||||
rsp.add( "mode", solrCloudMode ? "solrcloud" : "std");
|
||||
if (solrCloudMode) {
|
||||
rsp.add("zkHost", getCoreContainer(req, core).getZkController().getZkServerAddress());
|
||||
}
|
||||
rsp.add( "lucene", getLuceneInfo() );
|
||||
rsp.add( "jvm", getJvmInfo() );
|
||||
rsp.add( "system", getSystemInfo() );
|
||||
|
|
Loading…
Reference in New Issue