cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Anuff (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-2233) Add unified UUIDType
Date Thu, 03 Mar 2011 02:30:37 GMT


Ed Anuff commented on CASSANDRA-2233:

bq.* generalize the type, make it deal with all kinds of variants/versions. (

I'm not sure how useful the natural order of the other UUID versions is.  I suppose for everything
but version 1 time-based UUID's, we could use DCE's comparison rules rather than the current
byte comparison used by the lexical comparer, that would at least be standard.

bq.* check if it makes sense to treat the Nil UUID differently (similarly to NULL in popular
SQL databases).

Yes, it does make sense.  Nil UUID should always compare as less than.

> Add unified UUIDType
> --------------------
>                 Key: CASSANDRA-2233
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7.3
>            Reporter: Ed Anuff
>            Priority: Minor
>         Attachments:
> Unified UUIDType comparator, compares as time-based if both UUIDs are time-based, otherwise
uses byte comparison.  Based on code from the current LexicalUUIDType and TimeUUIDType comparers,
so performance and behavior should be consistent and compatible.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message