Skip to content

Conversation

@timvaillancourt
Copy link
Contributor

@timvaillancourt timvaillancourt commented Apr 24, 2020

This PR adds the Vitess config param TimeoutSecs to Freno (default 5 seconds)

This new config param controls how long Freno will wait for the Vitess API to return tablet information

cc @drogart / @nickcanz / @gtowey

Copy link

@nickcanz nickcanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, this looks good!

Question: if you thought about adding the timeout to the clusterSettings.VitessSettings section of config instead and why you chose the top level config?

@timvaillancourt
Copy link
Contributor Author

Yep, this looks good!

Question: if you thought about adding the timeout to the clusterSettings.VitessSettings section of config instead and why you chose the top level config?

That's a good question @nickcanz. I think that's probably a better way to go. The only drawback is having to set the timeout per cluster, but someone is going to need that one day

@timvaillancourt
Copy link
Contributor Author

Done fiddling, re-requesting review from @nickcanz and @gtowey

Copy link

@nickcanz nickcanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 and I like the new signature for the ParseTablets function.

@timvaillancourt timvaillancourt temporarily deployed to production/role=mysqlutil&site=ash1-iad April 29, 2020 20:02 Inactive
@timvaillancourt timvaillancourt temporarily deployed to production/role=mysqlutil&site=ac4-iad April 29, 2020 20:04 Inactive
@timvaillancourt timvaillancourt merged commit 408e904 into master Apr 29, 2020
@timvaillancourt timvaillancourt deleted the config-http-timeout branch April 29, 2020 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants