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

[v14] Improve recording upload backoff #42775

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

rosstimothy
Copy link
Contributor

Backport #42718 to branch/v14

changelog: Improve backoff of session recording uploads by teleport agents

Failed uploads could get in an infinite backoff of 10s instead of
linearly backing off as intended. Due to the asynchronous nature
of launching uploads by `(Uploader) Scan`, it could return without
an error which resulted in resetting the backoff to its initial
value even if previous failed uploads had incremented the backoff.
To avoid this, resetting the backoff delay was modified to only
occur if an upload completed successfully.

Additionally error messaging was attempted to be improved. Any errors
caused by the stream being terminated should now be returned instead
of a vague message.
@rosstimothy rosstimothy marked this pull request as ready for review June 11, 2024 16:30
@github-actions github-actions bot added audit-log Issues related to Teleports Audit Log size/sm labels Jun 11, 2024
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from zmb3 June 11, 2024 17:29
@rosstimothy rosstimothy added this pull request to the merge queue Jun 11, 2024
Merged via the queue into branch/v14 with commit d6e91a5 Jun 11, 2024
29 checks passed
@rosstimothy rosstimothy deleted the tross/backport-42718/v14 branch June 11, 2024 17:49
This was referenced Aug 6, 2024
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 size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants