From user-return-8335-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Sat Aug 07 11:12:00 2010 Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 80308 invoked from network); 7 Aug 2010 11:12:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Aug 2010 11:12:00 -0000 Received: (qmail 18115 invoked by uid 500); 7 Aug 2010 11:11:58 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 17873 invoked by uid 500); 7 Aug 2010 11:11:55 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 17864 invoked by uid 99); 7 Aug 2010 11:11:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Aug 2010 11:11:54 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of th.heller@gmail.com designates 209.85.216.44 as permitted sender) Received: from [209.85.216.44] (HELO mail-qw0-f44.google.com) (209.85.216.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Aug 2010 11:11:49 +0000 Received: by qwe5 with SMTP id 5so6320451qwe.31 for ; Sat, 07 Aug 2010 04:11:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=fGQk+9mwxTqvQBLrOG/BlSfntp0K/rbBRtm9/RjUVEQ=; b=tQODbZCOKzMtYmBO/SDFGvTTF8+VSoYkdNuQ8ij3L/hL+IrKxEz30mbRYOXaQBlBZz jqQzqwPrOeUF8MfiR+kwlknUchNOPGzXbtmt4RHYKWp8ftXT5SNdufabIvNzfewX5BKq OmcWz4lL8lzHdEFqWc9DYKnjkCQR32TA+gdpM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=q7+y2Yp4+JrxtNPTrLu84mpF2ChJwFzEORCa2LKHr32Wmulbi5nXThgCZpQGiAyKai Gq11Krp09kF8RbO4G6/rfrlARvNbMR1Bg6LQiFw0HemiGyeFvG4QMaVn/z+UixZk0aLW 0vqt3XpVz1cjNfgPD6EiA6pN7u8oGsm1IkOY8= MIME-Version: 1.0 Received: by 10.220.100.67 with SMTP id x3mr8901869vcn.122.1281179488269; Sat, 07 Aug 2010 04:11:28 -0700 (PDT) Sender: th.heller@gmail.com Received: by 10.220.176.68 with HTTP; Sat, 7 Aug 2010 04:11:28 -0700 (PDT) In-Reply-To: References: <0DA8807C8FFE459E88F34B3C58255E53@PSIINC.local> <39CD52E67799437D9FEAB6EF2F716EF7@PSIINC.local> <3198D9695A6F4E57A5492EFD66B0EA20@PSIINC.local> <106D3BCC358D4642890104B9B0A70084@PSIINC.local> <3A17C5C400474E928DB0183A8C2F99BF@PSIINC.local> Date: Sat, 7 Aug 2010 13:11:28 +0200 X-Google-Sender-Auth: DgZJSLmBPmxHee_fs2DeoGmiisI Message-ID: Subject: Re: error using get_range_slice with random partitioner From: Thomas Heller To: user@cassandra.apache.org Content-Type: text/plain; charset=UTF-8 On Sat, Aug 7, 2010 at 11:41 AM, Peter Schuller wrote: >> Remember the returned results are NOT sorted, so you whenever you are >> dropping the first by default, you might be dropping a good one. At >> least that would be my guess here. > > Sorry I may be forgetting something about this thread, but AFAIK the > results from cassandra (the thrift API) are sorted. Maybe there was a > client in between that did not preserve the sorting (I forget which > thread that was). Column slices are always sorted yes, we were talking about get_RANGE_slices and the range of rows is not sorted (for RPP). re incrementing/decrementing: you're right, I was only using my inc/dec for UUID which are fixed length. /thomas