cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Mädel (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7925) TimeUUID LSB should be unique per process, not just per machine
Date Sun, 14 Sep 2014 19:38:33 GMT

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

Peter Mädel commented on CASSANDRA-7925:
----------------------------------------

At least for the java driver it is mandatory to add some reference to the classloader, as
static variables always belong to the classloader. lsb collisions would occur e.g. when several
clients are deployed within separate webapps but the same tomcat. each client would have the
identical pid, but different classloaders.

I dont know enough about the server runtime to decide if this is an issue for C* though.

> 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)

Mime
View raw message