You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2011/01/27 19:57:45 UTC

[jira] Updated: (CASSANDRA-1938) Use UUID as node identifiers in counters instead of IP addresses

     [ https://issues.apache.org/jira/browse/CASSANDRA-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne updated CASSANDRA-1938:
----------------------------------------

    Attachment: 1938_discussion
                0001-Use-uuid-instead-of-IP-for-counters.patch

Patch attached. It passes basic testing (unit tests, system test and 'throwing a bunch of increments to a 3 nodes cluster' test).

I don't think this is a trivial patch (though I could be stupid) so the more people have a look, the merrier and all feedback is welcome. I've also attached a companion text file with some (lengthy but hopefully helpful) explanations of how it works and which problems it solves (and how).


> Use UUID as node identifiers in counters instead of IP addresses 
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-1938
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1938
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 0.8
>
>         Attachments: 0001-Use-uuid-instead-of-IP-for-counters.patch, 1938_discussion
>
>   Original Estimate: 56h
>  Remaining Estimate: 56h
>
> The use of IP addresses as node identifiers in the partition of a given
> counter is fragile. Changes of the node's IP addresses can result in data
> loss. This patch proposes to use UUIDs instead.
> NOTE: this breaks the on-disk file format (for counters)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.