use of org.apache.solr.cloud.ZkController in project lucene-solr by apache.
the class PeerSync method msg.
// start of peersync related debug messages. includes the core name for correlation.
private String msg() {
ZkController zkController = uhandler.core.getCoreContainer().getZkController();
String myURL = "";
if (zkController != null) {
myURL = zkController.getBaseUrl();
}
// TODO: core name turns up blank in many tests - find URL if cloud enabled?
return "PeerSync: core=" + uhandler.core.getName() + " url=" + myURL + " ";
}
Aggregations