[8.x] Update Dev Tool limitation about high availability. (#172507) (#208735)

# Backport

This will backport the following commits from `main` to `8.x`:
- [Update Dev Tool limitation about high availability.
(#172507)](https://github.com/elastic/kibana/pull/172507)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Xavier
Merlin","email":"48214502+merlixelastic@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-29T11:49:10Z","message":"Update
Dev Tool limitation about high availability. (#172507)\n\nUpdating
limitation of dev tool which is not sending request with
round\r\nrobin\r\n\r\n## Summary\r\n\r\nWe believe Console always tries
to connect to the 1st host in\r\nelasticsearch.hosts but if it's
unavailable then it will try the next\r\none, the code for this can be
found\r\n[here](0d613e58cf/src/plugins/console/server/routes/api/console/proxy/create_handler.ts (L125)).\r\nSo
in that case, as long as the node is still available, it will
receive\r\nall the requests from Console.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or
tutorials\r\n\r\nCo-authored-by: florent-leborgne
<florent.leborgne@elastic.co>","sha":"199e75e51f64e7429960c121b6746ad347b3efec","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","docs","documentation","backport:version","v8.17.0","v8.18.0"],"title":"Update
Dev Tool limitation about high
availability.","number":172507,"url":"https://github.com/elastic/kibana/pull/172507","mergeCommit":{"message":"Update
Dev Tool limitation about high availability. (#172507)\n\nUpdating
limitation of dev tool which is not sending request with
round\r\nrobin\r\n\r\n## Summary\r\n\r\nWe believe Console always tries
to connect to the 1st host in\r\nelasticsearch.hosts but if it's
unavailable then it will try the next\r\none, the code for this can be
found\r\n[here](0d613e58cf/src/plugins/console/server/routes/api/console/proxy/create_handler.ts (L125)).\r\nSo
in that case, as long as the node is still available, it will
receive\r\nall the requests from Console.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or
tutorials\r\n\r\nCo-authored-by: florent-leborgne
<florent.leborgne@elastic.co>","sha":"199e75e51f64e7429960c121b6746ad347b3efec"}},"sourceBranch":"main","suggestedTargetBranches":["8.17","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172507","number":172507,"mergeCommit":{"message":"Update
Dev Tool limitation about high availability. (#172507)\n\nUpdating
limitation of dev tool which is not sending request with
round\r\nrobin\r\n\r\n## Summary\r\n\r\nWe believe Console always tries
to connect to the 1st host in\r\nelasticsearch.hosts but if it's
unavailable then it will try the next\r\none, the code for this can be
found\r\n[here](0d613e58cf/src/plugins/console/server/routes/api/console/proxy/create_handler.ts (L125)).\r\nSo
in that case, as long as the node is still available, it will
receive\r\nall the requests from Console.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or
tutorials\r\n\r\nCo-authored-by: florent-leborgne
<florent.leborgne@elastic.co>","sha":"199e75e51f64e7429960c121b6746ad347b3efec"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Xavier Merlin <48214502+merlixelastic@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2025-01-29 23:18:36 +11:00 committed by GitHub
parent 04d550f645
commit 37bb66473b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -91,7 +91,7 @@ active in case of failure from the currently used instance.
[[high-availability]]
=== High availability across multiple {es} nodes
{kib} can be configured to connect to multiple {es} nodes in the same cluster. In situations where a node becomes unavailable,
{kib} will transparently connect to an available node and continue operating. Requests to available hosts will be routed in a round robin fashion.
{kib} will transparently connect to an available node and continue operating. Requests to available hosts will be routed in a round robin fashion (except for Dev Tools which will connect only to the first node available).
In kibana.yml:
[source,js]