From dev-return-15598-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Sat Apr 16 23:00:52 2011 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 20135 invoked from network); 16 Apr 2011 23:00:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Apr 2011 23:00:50 -0000 Received: (qmail 21288 invoked by uid 500); 16 Apr 2011 23:00:49 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 21253 invoked by uid 500); 16 Apr 2011 23:00: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 21245 invoked by uid 99); 16 Apr 2011 23:00:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Apr 2011 23:00: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; Sat, 16 Apr 2011 23:00:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CAC54A4C56 for ; Sat, 16 Apr 2011 23:00:05 +0000 (UTC) Date: Sat, 16 Apr 2011 23:00:05 +0000 (UTC) From: "Jan Lehnardt (JIRA)" To: dev@couchdb.apache.org Message-ID: <148623865.62660.1302994805827.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <5006524.2101293134265524.JavaMail.jira@thor> Subject: [jira] [Commented] (COUCHDB-997) Prevent multiple keys from entering a btree. 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-997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020684#comment-13020684 ] Jan Lehnardt commented on COUCHDB-997: -------------------------------------- Do we have a conclusion here? > Prevent multiple keys from entering a btree. > -------------------------------------------- > > Key: COUCHDB-997 > URL: https://issues.apache.org/jira/browse/COUCHDB-997 > Project: CouchDB > Issue Type: Bug > Reporter: Paul Joseph Davis > > s/sort/usort/ at https://github.com/apache/couchdb/blob/trunk/src/couchdb/couch_btree.erl#L181 > This should be completely transparent and incur minimal overhead. This hasn't bitten us quite yet, but it would've prevented some of the crazier behavior from COUCHDB-968 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira