epugh commented on code in PR #5263:
URL: https://github.com/apache/solr/pull/5263#discussion_r4414245464


##########
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:
   out of curiosity, could you list the pid if it exists?   WOuld that mkae it 
obvious?



-- 
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]

Reply via email to