You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "T Jake Luciani (JIRA)" <ji...@apache.org> on 2015/05/14 21:26:00 UTC

[jira] [Commented] (CASSANDRA-7925) TimeUUID LSB should be unique per process, not just per machine

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

T Jake Luciani commented on CASSANDRA-7925:
-------------------------------------------

Seems like we should have an lsb per thread.  If a client or server generates a uuid at the same clocktime we want these to be unique within the process.

Updated patch here. Using Sigar to get the pid. https://github.com/tjake/cassandra/tree/7925-timeuuidlsb

> TimeUUID LSB should be unique per process, not just per machine
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-7925
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7925
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Peter Mädel
>         Attachments: cassandra-uuidgen.patch
>
>
> as pointed out in [CASSANDRA-7919|https://issues.apache.org/jira/browse/CASSANDRA-7919?focusedCommentId=14132529&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14132529] lsb collisions are also possible serverside.
> a sufficient solution would be to include references to pid and classloader within lsb.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)