Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 15552 invoked from network); 19 Mar 2010 16:01:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Mar 2010 16:01:18 -0000 Received: (qmail 58318 invoked by uid 500); 19 Mar 2010 16:01:14 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 58230 invoked by uid 500); 19 Mar 2010 16:01:14 -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 58222 invoked by uid 99); 19 Mar 2010 16:01:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 16:01:14 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of sylvain@yakaz.com does not designate 209.85.220.216 as permitted sender) Received: from [209.85.220.216] (HELO mail-fx0-f216.google.com) (209.85.220.216) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 16:01:09 +0000 Received: by fxm8 with SMTP id 8so2713039fxm.25 for ; Fri, 19 Mar 2010 09:00:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.132.209 with SMTP id c17mr1711614fat.37.1269014447298; Fri, 19 Mar 2010 09:00:47 -0700 (PDT) In-Reply-To: References: <24276CBD-086F-445A-9DD5-E8B131CE7FE3@socketlabs.com> <749BC322-7E4C-4D29-B9B6-87C6D2769BC6@socketlabs.com> From: Sylvain Lebresne Date: Fri, 19 Mar 2010 17:00:27 +0100 Message-ID: Subject: Re: Issue with TimeUUID To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable As said, I agree with that. I've thus created a jira issue (https://issues.apache.org/jira/browse/CASSANDRA-907). The discussion could continue there. On Fri, Mar 19, 2010 at 4:30 PM, Jesse McConnell wrote: > imo it is a terrible bug.. > > the usage of a TimeUUIDType implies that your actually caring about > the unique bits outside of a timestamp... > > currently it's nothing more then LongType ColumnFamily backed by > System.currentTimeInMillis() as a source for name columns. > > jesse > > -- > jesse mcconnell > jesse.mcconnell@gmail.com > > > > On Fri, Mar 19, 2010 at 04:53, Sylvain Lebresne wrote= : >> Just looked at the code and it indeed just compare the >> timestamps. I also find it weird and I would be for changing it, >> but maybe there was a good reason to do it the way it is (even >> if I don't see one right now). I'll let people give their opinion on >> that. >> >> In the meantime, if you need a quick fix for testing, I join you >> a two line patch that should fix it. >> >> -- >> Sylvain >> >> On Fri, Mar 19, 2010 at 1:25 AM, John Alessi wrote= : >>> But they are different names. =A0In my example they are: >>> 1077e700-c7f2-11de-86d5-f5bcc793a028 >>> 1077e700-c7f2-11de-982e-6fad363d5f29 >>> But Cassandra sees them as the same. >>> -- >>> John >>> >>> >>> >>> On Mar 18, 2010, at 7:17 PM, Brandon Williams wrote: >>> >>> On Thu, Mar 18, 2010 at 6:12 PM, John Alessi wrot= e: >>>> >>>> I am having an issue where Cassandra doesn't seem to be able to >>>> distinguish between 2 different UUIDs if based on the same exact time,= and >>>> sorting by TimeUUID. >>> >>> *snip* >>>> >>>> Cassandra doesn't seem to be able to distinguish between 2 different U= UIDs >>>> if based on the same exact time, and sorting by TimeUUID. >>>> >>>> What am I missing??? >>> >>> Column names must be distinct. =A0If you insert two columns with the sa= me >>> name, one overwrites the other. >>> -Brandon >>> >>> >> >