You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2012/05/03 06:04:06 UTC

[jira] [Updated] (SOLR-1258) health check file: relative path evaluated against CWD (directory were app was started)

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

Hoss Man updated SOLR-1258:
---------------------------

    Attachment: SOLR-1258.patch

Fixed & improved the test, improved the error checking involving directory permisions, and added docs.
 
                
> health check file: relative path evaluated against CWD (directory were app was started)
> ---------------------------------------------------------------------------------------
>
>                 Key: SOLR-1258
>                 URL: https://issues.apache.org/jira/browse/SOLR-1258
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.4
>         Environment: Mac
>            Reporter: Jay
>            Assignee: Hoss Man
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-1258.patch, SOLR-1258.patch
>
>   Original Estimate: 5h
>  Remaining Estimate: 5h
>
> The following element gives admin the ability to enable/disable a solr instance without taking it down
> {noformat}
>   <admin>
>     <defaultQuery>solr</defaultQuery>
>     <!-- configure a healthcheck file for servers behind a loadbalancer
>     -->
>     <healthcheck type="file">server-enabled</healthcheck>
>   </admin>
> {noformat}
> There is a problem with where the file 'server-enabled' is placed. Currently it appears that file is relative to the place where the server is stared. This causes trouble to deployment since theoretically the server could be started anywhere. My suggestion is to have the file relative to solr home so that it does not dependent on where the server is started.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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