cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " Brian Hess (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-9200) Sequences
Date Mon, 18 May 2015 17:35:01 GMT


 Brian Hess commented on CASSANDRA-9200:

Can you not get a lot of what you want with a UDF that maps a UUID to a BIGINT hash?  That
will not be increasing/decreasing numbers, but will be an 8-byte integer.  Can someone explain
more on how the increasing/decreasing quality is needed/leveraged/used by customers?

> Sequences
> ---------
>                 Key: CASSANDRA-9200
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Jonathan Ellis
>            Assignee: Robert Stupp
>             Fix For: 3.x
> UUIDs are usually the right choice for surrogate keys, but sometimes application constraints
dictate an increasing numeric value.
> We could do this by using LWT to reserve "blocks" of the sequence for each member of
the cluster, which would eliminate paxos contention at the cost of not being strictly increasing.
> PostgreSQL syntax:

This message was sent by Atlassian JIRA

View raw message