gpt4 book ai didi

cassandra - JVM_OPTS="$JVM_OPTS -Dcassandra.consistent.rangemovement=false 有什么用

转载 作者:行者123 更新时间:2023-12-04 02:27:38 24 4
gpt4 key购买 nike

谁能解释一下有什么用

-JVM_OPTS="$JVM_OPTS -Dcassandra.consistent.rangemovement=false"

默认设置是什么以及它如何影响加入集群的多个节点?

我与此相关的是 Datastax doc for cassandra utility

最佳答案

根据 NEWS.txt

Bootstrapping now ensures that range movements are consistent, meaning the data for the new node is taken from the node that is no longer a responsible for that range of keys. If you want the old behavior (due to a lost node perhaps) you can set the following property (-Dcassandra.consistent.rangemovement=false).


并关注 official operating guide

After the tokens are allocated, the joining node will pick current replicas of the token ranges it will become responsible for to stream data from. By default it will stream from the primary replica of each token range in order to guarantee data in the new node will be consistent with the current state.

In the case of any unavailable replica, the consistent bootstrap process will fail. To override this behavior and potentially miss data from an unavailable replica, set the JVM flag -Dcassandra.consistent.rangemovement=false.

关于cassandra - JVM_OPTS="$JVM_OPTS -Dcassandra.consistent.rangemovement=false 有什么用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39355698/

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