couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <>
Subject [jira] Commented: (COUCHDB-397) POST _restart only restarts couch_server process
Date Mon, 29 Jun 2009 18:16:47 GMT


Paul Joseph Davis commented on COUCHDB-397:

As I understand the situation:

couch_stats_* are daemons listed in the couch_secondary_services spec and started by couch_server_sup:start_secondary_services
0.9.1 doesn't restart secondary services
trunk has a call to terminate_child(couch_secondary_services, couch_server) but still doesn't
appear to be restarting the stats processes.

So I'm running under the theory that terminate_child/restart_child is the proper way to do
this reboot, but something is broken in the terminate_child call.

That could all be wrong though. :)

> POST _restart only restarts couch_server process
> ------------------------------------------------
>                 Key: COUCHDB-397
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 0.9
>            Reporter: Adam Kocoloski
>            Assignee: Adam Kocoloski
> Perhaps this is by design, but POSTing to /_restart only restarts the couch_server process.
 It does not restart any of the other myriad processes CouchDB relies on for operation.  In
particular, this causes the stats test suite to occasionally fail, because the stats counters
do not get reset.  The test that fails is
> Assertion 'open_databases > 0 && max >= open_databases, name' failed: should
keep the same number of open databases when reaching the max_dbs_open limit

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

View raw message