You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Evans (JIRA)" <ji...@apache.org> on 2012/04/26 22:34:52 UTC

[jira] [Commented] (CASSANDRA-4120) Gossip identifies hosts by UUID

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

Eric Evans commented on CASSANDRA-4120:
---------------------------------------

See the description above for a table with patch links.

I have no doubt that more work will be needed here, but I wanted to get these up and solicit feedback; Some questions that remain to be answered are:

* On an upgrading node, what do we do with old hints that were stored by token?
* During an upgrade, on already upgraded node, what do we do with hints meant for a yet-to-be-upgraded node?
* Do we support the use of removeToken (now removeNode) on partially upgraded clusters?
                
> Gossip identifies hosts by UUID
> -------------------------------
>
>                 Key: CASSANDRA-4120
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4120
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Sam Overton
>            Assignee: Eric Evans
>              Labels: virtualnodes, vnodes
>
> Since there is no longer a one-to-one mapping of host to token, a UUID should be used to identify a host. This impacts:
> * Gossip
> * Hinted Hand-off
> * some JMX operations (eg. assassinateEndpointUnsafe)
> _Edit: Identify host by UUID, not IP_
> _Edit: Added table of patch links._
> h3. Patches
> ||Compare||Raw diff||Description||Last updated||
> |[01-4120|https://github.com/acunu/cassandra/compare/trunk...p/4120/01_create_store_host_uuid]|[01-4120.diff|https://github.com/acunu/cassandra/compare/trunk...p/4120/01_create_store_host_uuid.diff]|Get/set host ID (UUID)|2012-04-26|
> |[02-4120|https://github.com/acunu/cassandra/compare/p/4120/01_create_store_host_uuid...p/4120/02_uuid_in_application_status]|[02-4120.diff|https://github.com/acunu/cassandra/compare/p/4120/01_create_store_host_uuid...p/4120/02_uuid_in_application_status.diff]|Gossip host ID and maintain cluster mapping|2012-04-26|
> |[03-4120|https://github.com/acunu/cassandra/compare/p/4120/02_uuid_in_application_status...p/4120/03_reference_node_by_hostid]|[03-4120.diff|https://github.com/acunu/cassandra/compare/p/4120/02_uuid_in_application_status...p/4120/03_reference_node_by_hostid.diff]|Store hints by host ID|2012-04-26|
> |[04-4120|https://github.com/acunu/cassandra/compare/p/4120/03_reference_node_by_hostid...p/4120/04_remove_node_by_hostid]|[04-4120.diff|https://github.com/acunu/cassandra/compare/p/4120/03_reference_node_by_hostid...p/4120/04_remove_node_by_hostid.diff]|Refactor {{SS.removeToken}} to use ID instead of Token|2012-04-26|
> ----
> _Note: These are branches managed with TopGit. If you are applying the patch output manually, you will either need to filter the TopGit metadata files (i.e. {{wget -O - <url> | filterdiff -x*.topdeps -x*.topmsg | patch -p1}}), or remove them afterward ({{rm .topmsg .topdeps}})._

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira