[ 
https://issues.apache.org/jira/browse/CASSANDRA-17048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17432272#comment-17432272
 ] 

Jacek Lewandowski commented on CASSANDRA-17048:
-----------------------------------------------

If we do that we probably do not loose much, in particular, it would look like 
this:

{{xxxx_yyyy_zzzzzzzzzzzzzzzzz}}

where:

{{xxxx}} - 4 characters (base 36) denoting a day in the whole timestamp range
{{yyyy}} - 4 characters (base 36) denoting a second of a day (this is going to 
be useful part)
{{zzz...}} - 17 characters (base 36) denoting 100-ns + random

as you can see, we still have 25 characters total, and the only thing we need 
to add is two separators (underscores as dashes are forbidden)


> Replace sequential sstable generation identifier with ULID
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-17048
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17048
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/SSTable
>            Reporter: Jacek Lewandowski
>            Assignee: Jacek Lewandowski
>            Priority: Normal
>             Fix For: 4.1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Replace the current sequential sstable generation identifier with ULID based.
> ULID is better because we do not need to scan the existing files to pick the 
> starting number as well as we can generate globally unique identifiers. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to