-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Disable HintedHandoff if configuration is not set. #4283 #4737
Disable HintedHandoff if configuration is not set. #4283 #4737
Conversation
This looks good. However, if we are changing the config here to be https://github.com/influxdb/influxdb/blob/master/cmd/influxd/run/config.go#L101 c.HintedHandoff.Enabled = true |
Not sure about this. Since HH is on by default, with no config section, On Tuesday, November 10, 2015, Cory LaNou notifications@github.com wrote:
|
@corylanou ok, sure |
07f74fa
to
8bfdfbd
Compare
@otoolep We ship everything with a sane config, including running in demo mode with it turned on. The only way for HH to be turned off is by the end user removing the config for it. We have other sections that work the same way. Thoughts? |
OK, I checked https://github.com/influxdb/influxdb/blob/master/etc/config.sample.toml#L99 and we have not been giving the impression that HH is on by default. So I'm OK with this change. I was concerned that HH was documented as on by default in the sample config, and then this could be considered a breaking change. This is not the case, and I actually agree it is more natural if the section is not there, one shouldn't be surprised if HH is not on. |
+1 from me. @corylanou if +1 from, please merge too. Thanks @ch33hau |
+1 |
…sabled Disable HintedHandoff if configuration is not set. #4283
Thanks for review and comments @otoolep @corylanou ! |
Hi, I have created a pull request for #4283.