-
Notifications
You must be signed in to change notification settings - Fork 9.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
Increase sync watchers period to 1 second #17583
Conversation
60db295
to
ab70c02
Compare
Propose to add a config item, which defaults to 1s in main branch, and defaults to 100ms in the stable releases to keep the existing behaviour by default. |
This is a simple change. If there is no any objection, we can delegate the change to other contributor to share your load. |
Right, with K8s mitigation to stop sending watch to etcd, I don't think it's critical for now. Leaving it for someone to pick up. |
ab70c02
to
5f029e0
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: serathius The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Updated the PR to provide context about how the variable was picked. I don't think there is a reason to expose is as configuration option, as benchmark results showed clear improvements. ping @ahrtr for review |
@serathius: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
178c3b9
to
98540ba
Compare
Ok, test results showed the issue of many existing etcd client recepies depending on time to first event from watch created on concrete revision. Don't think we can move forward with this solution without separating newly created wachers from misbehaving ones. |
At that point it would be better to do #17563 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files
... and 85 files with indirect coverage changes @@ Coverage Diff @@
## main #17583 +/- ##
==========================================
- Coverage 68.67% 66.31% -2.37%
==========================================
Files 420 420
Lines 35583 35582 -1
==========================================
- Hits 24438 23595 -843
- Misses 9713 10527 +814
- Partials 1432 1460 +28 Continue to review full report in Codecov by Sentry.
|
…atch starvation Signed-off-by: Marek Siarkowicz <[email protected]>
98540ba
to
2c61a00
Compare
Ref #16839
Picked based on