HoustonPutman commented on a change in pull request #226: URL: https://github.com/apache/lucene-solr-operator/pull/226#discussion_r583248581
########## File path: controllers/util/solr_util.go ########## @@ -266,6 +270,9 @@ func GenerateStatefulSet(solrCloud *solr.SolrCloud, solrCloudStatus *solr.SolrCl solrHostName := solrCloud.AdvertisedNodeHost("$(POD_HOSTNAME)") solrAdressingPort := solrCloud.NodePort() + // Solr can take longer than SOLR_STOP_WAIT to run solr stop, give it a few extra seconds before forcefully killing the pod. + solrStopWait := terminationGracePeriod - 5 Review comment: Added the minimum as well as a check for a negative value, in case we remove the minimum in the future. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org