cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Jirsa <jji...@gmail.com>
Subject Re: Does node add/remove requires all cluster nodes be present?
Date Tue, 01 May 2018 04:01:28 GMT
nodetool decommission streams data from the losing replica, so only that instance has to be
online (and decom should be preferred to removenode)

If that instance is offline, you can use removenode, but you risk violating consistency guarantees

Adding nodes is similar - bootstrap streams from the losing range

-- 
Jeff Jirsa


> On Apr 30, 2018, at 8:57 PM, Jinhua Luo <luajit.io@gmail.com> wrote:
> 
> Hi All,
> 
> When a new node added, due to the even distribution of the new tokens,
> the current nodes of the ring should migrate data to this new node.
> 
> So, does it requires all nodes be present? If not, then if some nodes
> are down, then it will miss the data migration of those parts, how and
> when to fix it? When those nodes come back?
> 
> Similarly, the node removal would migrate its data to other nodes, so
> it seems that all other nodes must be present, otherwise it would lost
> data?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: user-help@cassandra.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
For additional commands, e-mail: user-help@cassandra.apache.org


Mime
View raw message