SOLR-14114: Add WARN to Solr log that embedded ZK is not supported in production (#1273)

This commit is contained in:
Jan Høydahl 2020-02-24 09:59:33 +01:00 committed by GitHub
parent 8b98befe93
commit 57c7139ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

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

View File

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