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

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

    Attachment: 0003-Thrift-change-to-CfDef.patch
                0002-Merge-old-shard-locally.patch
                0001-Use-uuid-instead-of-IP-for-counters.patch

Re-attaching rebased patch.
The second patch implements a solution to merge old nodeId that has been 
renewed, fixing for the most part the main drawback of the previous patch 
(counter context should be kept reasonably small). It's honestly a bit 
under-tested, I've tested write and read, but I haven't tested more complicated 
scenario involving cluster membership changes. I'll get at it but attaching in 
the hope to get feedback sooner than later.
Last patch is just modifications to the thrift generated files implied by the 
second patch.

> 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, 
> 0002-Merge-old-shard-locally.patch, 0003-Thrift-change-to-CfDef.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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to