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

Enable explicitly enforcing bootstrap checks #23585

Merged
merged 5 commits into from
Mar 15, 2017

Conversation

jasontedor
Copy link
Member

@jasontedor jasontedor commented Mar 14, 2017

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

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);
Copy link
Contributor

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

Copy link
Member Author

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.

@jasontedor jasontedor merged commit f7b8128 into elastic:master Mar 15, 2017
jasontedor added a commit that referenced this pull request Mar 15, 2017
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
@jasontedor
Copy link
Member Author

Thanks @bleskes.

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.

None yet

2 participants