You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Martijn Koster (JIRA)" <ji...@apache.org> on 2015/09/29 22:53:04 UTC

[jira] [Created] (SOLR-8107) bin/solr -f should use exec

Martijn Koster created SOLR-8107:
------------------------------------

             Summary: bin/solr -f should use exec
                 Key: SOLR-8107
                 URL: https://issues.apache.org/jira/browse/SOLR-8107
             Project: Solr
          Issue Type: Bug
            Reporter: Martijn Koster
            Priority: Minor


When you run {{bin/solr -f}}, bash invokes java as a sub-process.
If you {{kill -TERM}} the script, java gets terminated uncleanly.
The script should invoke java using {{exec}}: then, when you send a {{TERM}}, it stops ServerConnector and shuts down the core. And you save yourself a process in the process.

See this patch https://gist.github.com/makuk66/5ba75e8d592bf5428611



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org