thelabdude commented on a change in pull request #334:
URL: https://github.com/apache/solr-operator/pull/334#discussion_r723407099
##########
File path: controllers/util/solr_util.go
##########
@@ -1010,21 +992,21 @@ func generateZKInteractionInitContainer(solrCloud
*solr.SolrCloud, solrCloudStat
cmd := ""
+ if hasChroot {
+ cmd += "solr zk ls ${ZK_CHROOT} -z ${ZK_SERVER} || solr zk
mkroot ${ZK_CHROOT} -z ${ZK_SERVER}; "
+ }
+
if solrCloud.Spec.SolrTLS != nil {
cmd = setUrlSchemeClusterPropCmd()
Review comment:
oh gosh! great catch there :-)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]