janhoy commented on code in PR #5263:
URL: https://github.com/apache/solr/pull/5263#discussion_r4407776030
##########
solr/core/src/java/org/apache/solr/cli/StatusTool.java:
##########
@@ -243,6 +244,13 @@ public int runTool() throws Exception {
// No URL or port, scan for running processes
Collection<SolrProcess> procs = processMgr.scanSolrPidFiles();
+ if (procs.isEmpty()) {
+ // Solr started in the foreground writes no PID file, so fall back to
the process list
Review Comment:
Decided to fix this by letting `solr status` always list all processes found
running.
--
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]