-
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
BUG: Negative value is successfully set for “discovery.zen.commit_timeout” parameter #36632
Comments
Pinging @elastic/es-distributed |
These parameters are going away in 7.0 (cf #32006) so I don't think it's worth putting any effort into extra validation in the remainder of the 6.x series. However I think we should document that a negative value for |
Hi! Can I work on this issue? :) |
@jn01674361 sure, go ahead. |
@jn01674361 are you still working on this issue ? |
@swrp I plan to but I have not gotten around to starting yet, unfortunately. Why do you ask? |
I created PR #37570 to document |
Volunteers are still welcome |
Hi @andrershov , Yes, I would like to work on this. Br, |
Hi @andrershov and @DaveCTurner , I've created a PR for this bug in 6.7 branch. could you please verify the same? Regards, |
Thanks @harshbajaj16, but this is a docs issue as I mentioned above:
We don't want to change the behaviour here -- it's technically a breaking change which we try and avoid doing in minor releases. |
Hi @DaveCTurner , Thank you for your reply! I want to further clarify few things. Code Reference:
Steps to verify:
Observation: Based on above existing behaviour for discovery.zen.publish_timeout, we have proposed the simiar fix for “discovery.zen.commit_timeout”. Code Reference (Patch Fix):
Steps to verify:
Observation: Conclusion: Please share your opinion for above discussed scenario. Best Regards, |
This is an unnecessary breaking change and is not acceptable. |
Hi, Best Regards, |
Sure. It's a change that would break some users' configuration when they upgrade from a version without your proposed change to a version with your proposed change. Elasticsearch supports upgrades within the same major series, so users should be able to upgrade from any 6.x version to any newer 6.x version. However if someone had (for some unknown reason) set
in their We do sometimes make such changes when it's absolutely necessary to do so, but in this case it isn't necessary, so we should avoid doing it. |
Hi @DaveCTurner , Thank you. Could you please review the new pull request opened for this issue "document update" #42834 ? Regards, |
Closed by #42834. |
I am able to successfully set the negative value of "discovery.zen.commit_timeout" parameter in elasticsearch.yml or when it's value is changed dynamically by using the cluster update settings API.
Whereas an error is shown on the console when "discovery.zen.publish_timeout" parameter is set to negative value.
{Failed to parse value [-10s] for setting [discovery.zen.publish_timeout] must be >= 0s (Debug Log)}
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-b10)
OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)
Regards
Nikhil Kapoor
The text was updated successfully, but these errors were encountered: