Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 82028 invoked from network); 6 Apr 2010 17:59:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Apr 2010 17:59:58 -0000 Received: (qmail 67610 invoked by uid 500); 6 Apr 2010 17:59:58 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 67542 invoked by uid 500); 6 Apr 2010 17:59:57 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 67529 invoked by uid 99); 6 Apr 2010 17:59:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 17:59:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 17:59:54 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 915FC234C48C for ; Tue, 6 Apr 2010 17:59:33 +0000 (UTC) Message-ID: <988034440.20101270576773594.JavaMail.jira@brutus.apache.org> Date: Tue, 6 Apr 2010 17:59:33 +0000 (UTC) From: "Chris Anderson (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Closed: (COUCHDB-709) Restart actually restarts the server In-Reply-To: <1033637843.480571269478407201.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Anderson closed COUCHDB-709. ---------------------------------- Resolution: Fixed > Restart actually restarts the server > ------------------------------------ > > Key: COUCHDB-709 > URL: https://issues.apache.org/jira/browse/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.