Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Validate max number of node connections (#196908) #197100

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

#Closes [elastic#110155](elastic#110155)

## Summary
Currently Elastic Search has a limitation of 2^31-1 (2147483647) maximum
node connections. This PR adds this hardcoded value and is used to
validate that the input does not exceed this value and, therefore, the
user does not have to wait for the server to return the error to know
that they have entered a number that is too high. ES does not have an
API to query the number, that's why it is hardcoded.

<img width="1500" alt="Screenshot 2024-10-18 at 17 13 14"
src="https://github.com/user-attachments/assets/c18a4756-df76-4e0e-ba31-5118208f686d">

(cherry picked from commit 860e445)
@kibanamachine kibanamachine merged commit 238fbdd into elastic:8.x Oct 21, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants