couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Vander Wilt (JIRA)" <>
Subject [jira] [Created] (COUCHDB-1884) `couchdb -d` no longer shuts down a respawning server
Date Fri, 06 Sep 2013 20:57:51 GMT
Nathan Vander Wilt created COUCHDB-1884:

             Summary: `couchdb -d` no longer shuts down a respawning server
                 Key: COUCHDB-1884
             Project: CouchDB
          Issue Type: Bug
            Reporter: Nathan Vander Wilt

It looks like the patch for #1449 (
disabled the logic that prevented respawn when -d is used instead of -k.

1. when -d is passed, $KILL passed to stop_couchdb would be false and so the `"$1" = "false`
test would clear the PID file before killing
2. Then when start_couch's loop around `export HEART_COMMAND` saw an empty PID file, it would
stop respawning

After 15c1a97e:
1. The only logic stop_couchdb has for `"$KILL" = "false"` is a different log message
2. When start_couch's respawn loop sees the process return, it always respawns it (assuming

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message