lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-8107) bin/solr -f should use exec
Date Wed, 14 Oct 2015 21:52:05 GMT

    [ https://issues.apache.org/jira/browse/SOLR-8107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14957876#comment-14957876
] 

ASF subversion and git services commented on SOLR-8107:
-------------------------------------------------------

Commit 1708700 from [~thelabdude] in branch 'dev/trunk'
[ https://svn.apache.org/r1708700 ]

SOLR-8107: bin/solr -f should use exec to start the JVM

> 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
>            Assignee: Timothy Potter
>            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


Mime
View raw message