Details
-
New Feature
-
Status: Resolved
-
Normal
-
Resolution: Later
-
None
Description
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: http://www.postgresql.org/docs/9.4/static/sql-createsequence.html
Attachments
Issue Links
- depends upon
-
CASSANDRA-9372 Pass ClientState to ScalarFunction.execute()
- Resolved
-
CASSANDRA-9371 Add SEQUENCE to schema-change response/event messages
- Resolved
- relates to
-
CASSANDRA-9373 Allow returning generated values to clients
- Resolved
- links to