From dev-return-4303-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Thu May 21 14:38:57 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 44943 invoked from network); 21 May 2009 14:38:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 May 2009 14:38:56 -0000 Received: (qmail 68396 invoked by uid 500); 21 May 2009 14:39:08 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 68295 invoked by uid 500); 21 May 2009 14:39:08 -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 68281 invoked by uid 99); 21 May 2009 14:39:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 May 2009 14:39:08 +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; Thu, 21 May 2009 14:39:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A604B234C045 for ; Thu, 21 May 2009 07:38:45 -0700 (PDT) Message-ID: <978683449.1242916725679.JavaMail.jira@brutus> Date: Thu, 21 May 2009 07:38:45 -0700 (PDT) From: "Adam Kocoloski (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Created: (COUCHDB-355) deleting a _config key sets the value to "" 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 deleting a _config key sets the value to "" ------------------------------------------- Key: COUCHDB-355 URL: https://issues.apache.org/jira/browse/COUCHDB-355 Project: CouchDB Issue Type: Bug Components: Database Core Affects Versions: 0.9 Reporter: Adam Kocoloski couch_config:delete/2 is implemented as delete(Section, Key) -> set(Section, Key, ""). I think that's misleading -- a key with an empty value is not the same as no key at all. Consider the case of an update_notification process. To me, deleting that key should just send an EOF to the process. Instead Couch sends the EOF and then tries to spawn an os_process to execute "". The end result is the same, but a few things crash along the way. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.