janhoy opened a new pull request, #5348:
URL: https://github.com/apache/solr/pull/5348

   🤖 *AI-assisted, reviewed by Jan*
   
   - A background `bin\solr.cmd start` now resolves the PID of the process 
listening on the port (netstat, once the start wait has seen Solr come up) and 
writes it to `solr-<port>.pid`, the same file `bin/solr` writes; a foreground 
start writes no file at all. `stop --all` walks `solr-*.pid` and stops the PID 
in the file only if it still owns the port the file is named after, `stop -p 
PORT` deletes both files, and `SolrProcessManager.scanSolrPidFiles()` has lost 
its `.port` branch, so Windows now uses the same code path as Linux.
   - The `solr-<port>.port` file is still written on a background start for 
external scripts that may read it, but nothing in Solr reads it any more. It is 
deprecated in the 10.2 upgrade notes and in `solr.in.cmd`, and will no longer 
be written in 11.0 (separate issue).
   - https://issues.apache.org/jira/browse/SOLR-18661
   


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