mirror of https://github.com/apache/lucene.git
SOLR-14114: Add WARN to Solr log that embedded ZK is not supported in production (#1273)
This commit is contained in:
parent
8b98befe93
commit
57c7139ea3
|
@ -98,6 +98,8 @@ Improvements
|
|||
|
||||
* SOLR-14270: export command to have an option to write to a zip file (noble)
|
||||
|
||||
* SOLR-14114: Add WARN to Solr log that embedded ZK is not supported in production (janhoy)
|
||||
|
||||
Optimizations
|
||||
---------------------
|
||||
|
||||
|
|
|
@ -134,6 +134,8 @@ public class SolrZkServer {
|
|||
log.info("STARTING EMBEDDED STANDALONE ZOOKEEPER SERVER at port " + zkProps.getClientPortAddress().getPort());
|
||||
}
|
||||
|
||||
log.warn("Embedded Zookeeper is not recommended in production environments. See Reference Guide for details.");
|
||||
|
||||
zkThread.setDaemon(true);
|
||||
zkThread.start();
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue