【发布时间】:2015-09-21 18:25:39
【问题描述】:
我在现有的 8 个数据节点集群中添加了 12 个新数据节点。我正在尝试按照建议使用“排除分配”关闭前 8 个节点
curl -XPUT localhost:9200/_cluster/settings -d '{ “短暂的” : { “cluster.routing.allocation.exclude._ip”:“10.0.0.1” } }'
它没有重新定位任何分片,所以我运行了带有“解释”选项的重新路由命令。有人能解释一下下面的文字是什么意思吗?
> "explanations" : [ {
> "command" : "move",
> "parameters" : {
> "index" : "2015-09-20",
> "shard" : 0,
> "from_node" : "_dDn1SmqSquhMGgjti6vGg",
> "to_node" : "OQBFMt17RaWboOzMnUy2jA"
> },
> "decisions" : [ {
> "decider" : "same_shard",
> "decision" : "YES",
> "explanation" : "shard is not allocated to same node or host"
> }, {
> "decider" : "filter",
> "decision" : "YES",
> "explanation" : "node passes include/exclude/require filters"
> }, {
> "decider" : "replica_after_primary_active",
> "decision" : "YES",
> "explanation" : "shard is primary"
> }, {
> "decider" : "throttling",
> "decision" : "YES",
> "explanation" : "below shard recovery limit of [16]"
> }, {
> "decider" : "enable",
> "decision" : "YES",
> "explanation" : "allocation disabling is ignored"
> }, {
> "decider" : "disable",
> "decision" : "YES",
> "explanation" : "allocation disabling is ignored"
> }, {
> "decider" : "awareness",
> "decision" : "NO",
> "explanation" : "too many shards on nodes for attribute: [dc]" }, {
> "decider" : "shards_limit",
> "decision" : "YES",
> "explanation" : "total shard limit disabled: [-1] <= 0"
> }, {
> "decider" : "node_version",
> "decision" : "YES",
> "explanation" : "target node version [1.4.5] is same or newer than source node version [1.4.5]"
> }, {
> "decider" : "disk_threshold",
> "decision" : "YES",
> "explanation" : "enough disk for shard on node, free: [1.4tb]"
> }, {
> "decider" : "snapshot_in_progress",
> "decision" : "YES", "explanation" : "no snapshots are currently running"
>
【问题讨论】:
标签: elasticsearch