Skip to content
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

[branch/v9] Spread out UploadCompleter load (#11590) #11698

Merged
merged 2 commits into from
Apr 5, 2022

Conversation

rosstimothy
Copy link
Contributor

@rosstimothy rosstimothy commented Apr 4, 2022

Backport

This will backport the following commits from master to branch/v9:

* Spread out UploadCompleter load

Replaces the use of a `Ticker` with an `Interval` to reduce the
chance of auth servers `UploadCompleter` from synchronizing `run`
loops. Without this auth servers are essentially racing against
each other to upload any unfinished uploads. This was causing
an increase in network utilization every 10 mins.

This also prevents any missing parts of an upload from prematurely
ending the unfinished upload process. Doing so only causes a back
log of uploads that will never be completed during any of the
subsequent calls to `CheckUploads` in the future.

(cherry picked from commit d3de6c4)
@github-actions github-actions bot requested review from greedy52, smallinsky and zmb3 April 4, 2022 15:34
@github-actions github-actions bot added the audit-log Issues related to Teleports Audit Log label Apr 4, 2022
@rosstimothy rosstimothy enabled auto-merge (squash) April 5, 2022 12:55
@rosstimothy rosstimothy merged commit e2f3c28 into branch/v9 Apr 5, 2022
@rosstimothy rosstimothy deleted the backport/branch/v9/pr-11590 branch April 5, 2022 13:18
@webvictim webvictim mentioned this pull request Apr 19, 2022
@webvictim webvictim mentioned this pull request Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit-log Issues related to Teleports Audit Log backport
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants