janhoy commented on code in PR #5389:
URL: https://github.com/apache/solr/pull/5389#discussion_r4696531452
##########
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:
Nah, foreground runs are special, they do not write a PID file and are not
tracked by `bin/solr status` and are not stopped by `bin/solr stop --all`.
Instead they are stopped by either SIGTERM or STOP.PORT. And they do not log to
`solr.log` file by default. Lots of differences.
It's been like this forever.
--
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]