Hi @DavidTurner! I'm not sure if this plays part of the issue, but upon creation of our temporary nodes, we're setting cluster.routing.rebalance.enable to replicas to ensure that only replicas will be relocated to the temporary nodes. Then we set cluster.routing.rebalance.enable back to all after the temporary nodes gets destroyed. Here's the elasticsearch.yml of one of our temp nodes.
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
http.port: 9200
search.max_buckets: 65000
cluster.routing.allocation.enable: all
cluster.routing.rebalance.enable: none
cluster.routing.allocation.allow_rebalance: always
cluster.routing.allocation.node_concurrent_recoveries: 200
xpack.security.enabled: false
xpack.monitoring.enabled: true
cluster.name: platform-elasticsearch
node.name: temp-node-01
network.host: ["x.x.x.x","127.0.0.1"]
discovery.seed_hosts: ["x.x.x.x","x.x.x.x","x.x.x.x"]
cluster.initial_master_nodes: ["master-node-01", "master-node-02", "master-node-03"]
node.roles: [data]
network.publish_host: x.x.x.x
Here's the result when I check the settings of the .monitoring index.
curl -XGET "localhost:9200/.monitoring-es-7*/_settings?pretty"
{
".monitoring-es-7-2024.02.09" : {
"settings" : {
"index" : {
"codec" : "best_compression",
"routing" : {
"allocation" : {
"include" : {
"_tier_preference" : "data_content"
}
}
},
"number_of_shards" : "1",
"auto_expand_replicas" : "0-1",
"provided_name" : ".monitoring-es-7-2024.02.09",
"format" : "7",
"creation_date" : "1707486559155",
"number_of_replicas" : "1",
"uuid" : "2hYLQ2nGR4e7rM16xX6dLA",
"version" : {
"created" : "7160299"
}
}
}
},
".monitoring-es-7-2024.02.07" : {
"settings" : {
"index" : {
"codec" : "best_compression",
"routing" : {
"allocation" : {
"include" : {
"_tier_preference" : "data_content"
}
}
},
"number_of_shards" : "1",
"auto_expand_replicas" : "0-1",
"provided_name" : ".monitoring-es-7-2024.02.07",
"format" : "7",
"creation_date" : "1707264000054",
"number_of_replicas" : "1",
"uuid" : "_HUw6V3mS9K1Goh7rCzWIw",
"version" : {
"created" : "7160299"
}
}
}
},
".monitoring-es-7-2024.02.08" : {
"settings" : {
"index" : {
"codec" : "best_compression",
"routing" : {
"allocation" : {
"include" : {
"_tier_preference" : "data_content"
}
}
},
"number_of_shards" : "1",
"auto_expand_replicas" : "0-1",
"provided_name" : ".monitoring-es-7-2024.02.08",
"format" : "7",
"creation_date" : "1707401542253",
"number_of_replicas" : "1",
"uuid" : "qidNlIgPQL6C2_ZlqjvMkg",
"version" : {
"created" : "7160299"
}
}
}
},
".monitoring-es-7-2024.02.11" : {
"settings" : {
"index" : {
"codec" : "best_compression",
"routing" : {
"allocation" : {
"include" : {
"_tier_preference" : "data_content"
}
}
},
"number_of_shards" : "1",
"auto_expand_replicas" : "0-1",
"provided_name" : ".monitoring-es-7-2024.02.11",
"format" : "7",
"creation_date" : "1707609601292",
"number_of_replicas" : "1",
"uuid" : "xf2RDXH8QMii1l28nGll-A",
"version" : {
"created" : "7160299"
}
}
}
},
".monitoring-es-7-2024.02.12" : {
"settings" : {
"index" : {
"codec" : "best_compression",
"routing" : {
"allocation" : {
"include" : {
"_tier_preference" : "data_content"
}
}
},
"number_of_shards" : "1",
"auto_expand_replicas" : "0-1",
"provided_name" : ".monitoring-es-7-2024.02.12",
"format" : "7",
"creation_date" : "1707749582549",
"number_of_replicas" : "1",
"uuid" : "L4m1IlhkTOegxwdVzv0KBA",
"version" : {
"created" : "7160299"
}
}
}
},
".monitoring-es-7-2024.02.13" : {
"settings" : {
"index" : {
"codec" : "best_compression",
"routing" : {
"allocation" : {
"include" : {
"_tier_preference" : "data_content"
}
}
},
"number_of_shards" : "1",
"auto_expand_replicas" : "0-1",
"provided_name" : ".monitoring-es-7-2024.02.13",
"format" : "7",
"creation_date" : "1707782400198",
"number_of_replicas" : "1",
"uuid" : "2TZnmirvTd6Stwu9PuqYDw",
"version" : {
"created" : "7160299"
}
}
}
},
".monitoring-es-7-2024.02.10" : {
"settings" : {
"index" : {
"codec" : "best_compression",
"routing" : {
"allocation" : {
"include" : {
"_tier_preference" : "data_content"
}
}
},
"number_of_shards" : "1",
"auto_expand_replicas" : "0-1",
"provided_name" : ".monitoring-es-7-2024.02.10",
"format" : "7",
"creation_date" : "1707523200335",
"number_of_replicas" : "1",
"uuid" : "8lCqa4obTs20U7tZzsOWqA",
"version" : {
"created" : "7160299"
}
}
}
}
}