epugh commented on code in PR #5389: URL: https://github.com/apache/solr/pull/5389#discussion_r4695929988
########## changelog/unreleased/SOLR-18336-start-wait-jetty-state.yml: ########## @@ -0,0 +1,16 @@ +# See https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc + +title: > Review Comment: Mucking around with my TUI I've seen some of the weaknesses of waiting for HTTP to decide things, so from that perspective I am excited about this. And yeah, layer in the TLS etc and consulting a file written locally by Jetty makes sense. ########## solr/bin/solr: ########## @@ -513,17 +513,16 @@ function run_tool() { return $? } # end run_tool function -# Wait for the node on $SOLR_PORT_LISTEN to answer, as bin/solr.cmd does. Jetty binds its -# connectors before the Solr webapp starts, so a listening port is no proof of readiness. +# Wait for Jetty to report STARTED in the state file it writes for background starts. Jetty binds Review Comment: "background starts", I would assume if foreground or background start it would still write the file. -- 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]
