mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
Add an internal endpoint for exposed the desired balance and computation stats at a master node as GET _internal/desired_balance and returns ``` { "stats": { "computation_active": false, "computation_submitted": 5, "computation_executed": 5, "computation_converged": 5, "computation_iterations": 4, "computation_converged_index": 4, "computation_time_in_millis": 0, "reconciliation_time_in_millis": 0 }, "routing_table": { "test": { "0": { "current": [ { "state": "STARTED", "primary": true, "node": "UPYt8VwWTt-IADAEbqpLxA", "node_is_desired": true, "relocating_node": null, "relocating_node_is_desired": false, "shard_id": 0, "index": "test" } ], "desired": { "node_ids": [ "UPYt8VwWTt-IADAEbqpLxA" ], "total": 1, "unassigned": 0, "ignored": 0 } }, "1": { "current": [ { "state": "STARTED", "primary": true, "node": "2x1VTuSOQdeguXPdN73yRw", "node_is_desired": true, "relocating_node": null, "relocating_node_is_desired": false, "shard_id": 1, "index": "test" } ], "desired": { "node_ids": [ "2x1VTuSOQdeguXPdN73yRw" ], "total": 1, "unassigned": 0, "ignored": 0 } } } } } ``` Fixes #90583 |
||
---|---|---|
.. | ||
allocation-explain.asciidoc | ||
delete-desired-nodes.asciidoc | ||
get-desired-balance.asciidoc | ||
get-desired-nodes.asciidoc | ||
get-settings.asciidoc | ||
health.asciidoc | ||
nodes-hot-threads.asciidoc | ||
nodes-info.asciidoc | ||
nodes-reload-secure-settings.asciidoc | ||
nodes-stats.asciidoc | ||
nodes-usage.asciidoc | ||
pending.asciidoc | ||
remote-info.asciidoc | ||
reroute.asciidoc | ||
state.asciidoc | ||
stats.asciidoc | ||
tasks.asciidoc | ||
update-desired-nodes.asciidoc | ||
update-settings.asciidoc | ||
voting-exclusions.asciidoc |