From dev-return-15354-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Sun Mar 27 12:31:50 2011 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 91427 invoked from network); 27 Mar 2011 12:31:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Mar 2011 12:31:49 -0000 Received: (qmail 21352 invoked by uid 500); 27 Mar 2011 12:31:49 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 21296 invoked by uid 500); 27 Mar 2011 12:31:49 -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 21288 invoked by uid 99); 27 Mar 2011 12:31:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Mar 2011 12:31:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Mar 2011 12:31:46 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3052557333 for ; Sun, 27 Mar 2011 12:31:09 +0000 (UTC) Date: Sun, 27 Mar 2011 12:31:09 +0000 (UTC) From: "Jan Lehnardt (JIRA)" To: dev@couchdb.apache.org Message-ID: <1231641271.15073.1301229069194.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <803081074.13206.1297547757547.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-1065) couch_db_updater calls couch_key_tree incorrectly 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-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011789#comment-13011789 ] Jan Lehnardt commented on COUCHDB-1065: --------------------------------------- http://friendpaste.com/4pVKqLvWQEl7PJIZ9EXDMe tests the behaviour, trying to purge either rev causes a 500, purging both works. > couch_db_updater calls couch_key_tree incorrectly > ------------------------------------------------- > > Key: COUCHDB-1065 > URL: https://issues.apache.org/jira/browse/COUCHDB-1065 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Reporter: Bob Dionne > Fix For: 1.0.3, 1.1 > > > couch_db_updater at line 123 calls couch_key_tree:map_leafs( fun(RevInfo) -..... incorrectly. The function needs to have two arguments. > This is readily seen by creating two small dbs with a doc in each having the same id, replicating one to the other and then calling > _purge -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira