You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2018/07/05 21:12:00 UTC

[jira] [Closed] (SOLR-95) simplification of solr_server.rb

     [ https://issues.apache.org/jira/browse/SOLR-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexandre Rafalovitch closed SOLR-95.
-------------------------------------

> simplification of solr_server.rb
> --------------------------------
>
>                 Key: SOLR-95
>                 URL: https://issues.apache.org/jira/browse/SOLR-95
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - ruby - flare
>         Environment: Darwin Kernel Version 8.8.1
>            Reporter: Ed Summers
>            Assignee: Erik Hatcher
>            Priority: Minor
>         Attachments: solr_startup_simpification.diff
>
>
> solr_start() was using a system call to start solr, which resulted in three separate processes that needed to be killed with a process group id. This required solr_start() to disassociate itself from the parent process with setsid, and lookup the subprocesses' parent id.
> using exec() instead of system() makes this complexity go away fortunately. Also the solr_server.rb was renamed to test_helper.rb as it is likely to contain other methods/classes for clearing the index, etc...
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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