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

Minh Do commented on CASSANDRA-8132:
------------------------------------

Brandon, I mean it is the other way around to stream hints from the node about 
to be replaced to one of its neighbors.  It is just like in unbootstrap() that 
we have to stream hints from the closest node prior to the shutdown.

We need to do this because we don't want to lose hints in shutting down a node 
and replacing it with a new instance or machine.

> Save or stream hints to a safe place in node replacement
> --------------------------------------------------------
>
>                 Key: CASSANDRA-8132
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8132
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Minh Do
>            Assignee: Minh Do
>             Fix For: 2.1.1
>
>
> Often, we need to replace a node with a new instance in the cloud environment 
> where we have all nodes are still alive. To be safe without losing data, we 
> usually make sure all hints are gone before we do this operation.
> Replacement means we just want to shutdown C* process on a node and bring up 
> another instance to take over that node's token.
> However, if a node to be replaced has a lot of stored hints, its 
> HintedHandofManager seems very slow to send the hints to other nodes.  In our 
> case, we tried to replace a node and had to wait for several days before its 
> stored hints are clear out.  As mentioned above, we need all hints on this 
> node to clear out before we can terminate it and replace it by a new 
> instance/machine.
> Since this is not a decommission, I am proposing that we have the same 
> hints-streaming mechanism as in the decommission code.  Furthermore, there 
> needs to be a cmd for NodeTool to trigger this.



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

Reply via email to