Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 70903 invoked from network); 21 Sep 2009 18:52:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Sep 2009 18:52:39 -0000 Received: (qmail 44918 invoked by uid 500); 21 Sep 2009 18:52:38 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 44782 invoked by uid 500); 21 Sep 2009 18:52:38 -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 44761 invoked by uid 99); 21 Sep 2009 18:52:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Sep 2009 18:52:38 +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, 21 Sep 2009 18:52:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 056EE234C044 for ; Mon, 21 Sep 2009 11:52:16 -0700 (PDT) Message-ID: <1139056854.1253559136013.JavaMail.jira@brutus> Date: Mon, 21 Sep 2009 11:52:16 -0700 (PDT) From: "Benoit Chesneau (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Created: (COUCHDB-508) handle deleted db event for db 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 handle deleted db event for db ------------------------------ Key: COUCHDB-508 URL: https://issues.apache.org/jira/browse/COUCHDB-508 Project: CouchDB Issue Type: Bug Affects Versions: 0.10, 0.11 Reporter: Benoit Chesneau Fix For: 0.10, 0.11 Attachments: fix_changes.patch Currently when a db is deleted and someone is listenning on _changes feed (continuous or longpoll), couchdb don't close the connection (sending last chunk) and instead send an error status. This patch fix this and ad db_deleted:true on the last line. Spotted by kocolosk on irc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.