Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 74675 invoked from network); 14 Mar 2011 19:45:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Mar 2011 19:45:56 -0000 Received: (qmail 4550 invoked by uid 500); 14 Mar 2011 19:45:55 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 4529 invoked by uid 500); 14 Mar 2011 19:45:55 -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 4515 invoked by uid 99); 14 Mar 2011 19:45:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 19:45:55 +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; Mon, 14 Mar 2011 19:45:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8652A3A8EDF for ; Mon, 14 Mar 2011 19:45:30 +0000 (UTC) Date: Mon, 14 Mar 2011 19:45:30 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <614511333.1726.1300131930546.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <931686894.1657.1300131809957.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (CASSANDRA-2324) Repair never fully repairs, indexes out of order 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-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006591#comment-13006591 ] Jonathan Ellis commented on CASSANDRA-2324: ------------------------------------------- Key out of order is because sstableexport doesn't know that index sstables use LocalPartitioner instead of the cluster partitioner RP or BOPP. > Repair never fully repairs, indexes out of order > ------------------------------------------------ > > Key: CASSANDRA-2324 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2324 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 0.7.3 > Reporter: Brandon Williams > > To repro: 3 node cluster, stress.java 1M rows with -x KEYS and -l 2. The index is enough to make some mutations drop (about 20-30k total in my tests). Repair afterwards will repair a large amount of ranges the first time. However, each subsequent run will repair the same set of small ranges every time. INDEXED_RANGE_SLICE in stress never fully works. Counting rows with sstablekeys shows there are 2M rows total as expected, however when trying to count the indexed keys, I get exceptions like: > {noformat} > Exception in thread "main" java.io.IOException: Key out of order! DecoratedKey(101571366040797913119296586470838356016, 0707ab782c5b5029d28a5e6d508ef72f0222528b5e28da3b7787492679dc51b96f868e0746073e54bc173be927049d0f51e25a6a95b3268213b8969abf40cea7d7) > DecoratedKey(12639574763031545147067490818595764132, 0bc414be3093348a2ad389ed28f18f0cc9a044b2e98587848a0d289dae13ed0ad479c74654900eeffc6236) > at org.apache.cassandra.tools.SSTableExport.enumeratekeys(SSTableExport.java:206) > at org.apache.cassandra.tools.SSTableExport.main(SSTableExport.java:388) > {noformat} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira