Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 74868 invoked from network); 29 Jun 2009 22:23:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Jun 2009 22:23:01 -0000 Received: (qmail 80296 invoked by uid 500); 29 Jun 2009 22:23:11 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 80217 invoked by uid 500); 29 Jun 2009 22:23:11 -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 80206 invoked by uid 99); 29 Jun 2009 22:23:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2009 22:23:11 +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; Mon, 29 Jun 2009 22:23:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2D4B2234C004 for ; Mon, 29 Jun 2009 15:22:47 -0700 (PDT) Message-ID: <2079074522.1246314167171.JavaMail.jira@brutus> Date: Mon, 29 Jun 2009 15:22:47 -0700 (PDT) From: "Paul Joseph Davis (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-397) POST _restart only restarts couch_server process In-Reply-To: <1962165703.1246290407512.JavaMail.jira@brutus> 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-397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725375#action_12725375 ] Paul Joseph Davis commented on COUCHDB-397: ------------------------------------------- Now we're on the same page. I didn't look nearly close enough at the patch for 398 to realize it was different than what's in trunk. I'd vote for applying the proper terminate_child call you've listed here instead of specifying the stats module as it's cleaner. > POST _restart only restarts couch_server process > ------------------------------------------------ > > Key: COUCHDB-397 > URL: https://issues.apache.org/jira/browse/COUCHDB-397 > 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.