Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 56467 invoked from network); 3 Sep 2010 14:55:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Sep 2010 14:55:17 -0000 Received: (qmail 6683 invoked by uid 500); 3 Sep 2010 14:55:17 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 6541 invoked by uid 500); 3 Sep 2010 14:55:15 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 6529 invoked by uid 99); 3 Sep 2010 14:55:15 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 14:55:15 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 14:54:57 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o83EsaA7020789 for ; Fri, 3 Sep 2010 14:54:36 GMT Message-ID: <28715001.12571283525676145.JavaMail.jira@thor> Date: Fri, 3 Sep 2010 10:54:36 -0400 (EDT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1450) Memtable flush causes bad "reversed" get_slice In-Reply-To: <1905770.96081283274895717.JavaMail.jira@thor> 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/CASSANDRA-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-1450: -------------------------------------- Attachment: 1450.txt patch applies reversed flag during collation from different data sources and makes QF.getColumnComparator package-private to make it more difficult to make the same mistake again. unit test added to TableTest. > Memtable flush causes bad "reversed" get_slice > ---------------------------------------------- > > Key: CASSANDRA-1450 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1450 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 0.7 beta 1 > Environment: Cassandra Trunk > Reporter: Tyler L. Hobbs > Assignee: Jonathan Ellis > Fix For: 0.7 beta 2 > > Attachments: 1450.txt, reversed_slice_reproduce.txt > > > If columns are inserted into a row before and after a memtable flush, a get_slice() after the flush with reversed=True will return incorrect results. See attached patch to reproduce. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.