-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
suggest to add an parameter check-interval to control the interval of check load and slave lag. #166
Comments
pro tip #1: use three backtics for multi line comments (see how I edited your comment) pro tip #2: you can link to a specific line in code: https://github.com/github/gh-ost/blob/master/go/logic/migrator.go#L191 This would be an easy fix. I'm curious about needing to poll replicas more frequently than once per 1sec, given that replication lag resolution in MySQL is 1sec. Can you please elaborate? |
OK, thank you for your suggest. |
Cool, but what's the deal of more than once per second in light of the resolution? |
I don't understand very well.but seconds_behind_master is only in second, so I think 1s is enough. And check the pt-osc check-interval default value is 5s, we set to 1s when we use. |
I'm closing this for now. If there's a particular case for reducing polling interval, either reopen this or open a new one. |
I stand corrected, and we are able (on We're unlikely to sample |
Closed as per #203 (comment) |
hi
suggest to add an parameter check-interval to control the interval of check load and slave lag.
I read the code and find the interval of throttler is set to 1 second, in some situation, the load and lag must check more frequently.
The text was updated successfully, but these errors were encountered: