-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Enable explicitly enforcing bootstrap checks #23585
Enable explicitly enforcing bootstrap checks #23585
Conversation
This commit adds a system property that enables end-users to explicitly enforce the bootstrap checks, indepdently of the binding of the transport protocol. This can be useful for single-node production systems that do not bind the transport protocol (and thus the bootstrap checks would not be enforced).
@@ -101,13 +105,31 @@ static void check( | |||
final List<String> errors = new ArrayList<>(); | |||
final List<String> ignoredErrors = new ArrayList<>(); | |||
|
|||
final String esEnforceBootstrapChecks = System.getProperty(ES_ENFORCE_BOOTSTRAP_CHECKS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commenting here as this is the first line I can comment on. Nit: The java docs of enforceLimits needs to be adapted IMO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bleskes, I pushed a commit addressing your suggestion.
This commit adds a system property that enables end-users to explicitly enforce the bootstrap checks, independently of the binding of the transport protocol. This can be useful for single-node production systems that do not bind the transport protocol (and thus the bootstrap checks would not be enforced). Relates #23585
Thanks @bleskes. |
This commit adds a system property that enables end-users to explicitly enforce the bootstrap checks, indepdently of the binding of the transport protocol. This can be useful for single-node production systems that do not bind the transport protocol (and thus the bootstrap checks would not be enforced).
Closes #21864