cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1114) start script occasionally causes flapping when used with runit
Date Thu, 20 May 2010 18:39:17 GMT

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

Jonathan Ellis updated CASSANDRA-1114:
--------------------------------------

         Assignee: Eric Evans
    Fix Version/s: 0.6.2

> start script occasionally causes flapping when used with runit
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-1114
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1114
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>         Environment: ubuntu Karmic
>            Reporter: Cliff Moon
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 0.6.2
>
>         Attachments: start_script.patch
>
>
> Starting cassandra in the foreground is the preferred way of running it under something
like runit or daemontools.  Currently, the start script will execute java in a subprocess
when starting in the foreground.  This is a problem for runit and daemontools since they both
register the pid of start script.  Occasionally the start script process will fail, leaving
the java process running.  The runit supervisor will then start flapping since it thinks cassandra
is down even though there is a java process running.
> The attached patch will run cassandra in the same process as the start script when run
in the foreground.  This will cause runit and daemontools to have the correct behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message