couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson (JIRA)" <>
Subject [jira] Created: (COUCHDB-709) Restart actually restarts the server
Date Thu, 25 Mar 2010 00:53:27 GMT
Restart actually restarts the server

                 Key: COUCHDB-709
             Project: CouchDB
          Issue Type: Improvement
          Components: Database Core
            Reporter: Chris Anderson

This patch will cause CouchDB to actually restart the server when a POST is made to /_restart

The old way was unreliable as supervisors would shut things down asynchronously. This new
way is much more brute force, which makes it more deterministic.

This only really effects the test suite. I'm only pushing the patch through Jira to see if
people see room for improvements.

One improvement would be to add a timestamp for server boot time to the / response, but I
seem to have avoided the need for that with my double GET magic.

Do note: restart now drops any temporary config, hence the change to the reader_acls test.

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

View raw message