gpt4 book ai didi

Cassandra - 从集群中删除节点

转载 作者:行者123 更新时间:2023-12-03 06:50:20 24 4
gpt4 key购买 nike

我有一个包含三个节点的集群,我需要删除一个节点。在实际删除之前,如何确保要删除的节点中的数据将复制到其他两个节点?这是使用快照完成的吗?我应该如何进行?

最佳答案

来自 doc

You can take a node out of the cluster with nodetool decommission to a live node, or nodetool removenode (to any other machine) to remove a dead one. This will assign the ranges the old node was responsible for to other nodes, and replicate the appropriate data there. If decommission is used, the data will stream from the decommissioned node. If removenode is used, the data will stream from the remaining replicas.

关于Cassandra - 从集群中删除节点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10306021/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com