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

[v16] Improve recording upload backoff #42774

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

rosstimothy
Copy link
Contributor

Backport #42718 to branch/v16

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.
@github-actions github-actions bot added audit-log Issues related to Teleports Audit Log backport size/sm labels Jun 11, 2024
@github-actions github-actions bot requested review from AntonAM, espadolini and zmb3 June 11, 2024 15:38
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from zmb3 June 11, 2024 16:40
@rosstimothy rosstimothy added this pull request to the merge queue Jun 11, 2024
Merged via the queue into branch/v16 with commit 3302438 Jun 11, 2024
37 checks passed
@rosstimothy rosstimothy deleted the bot/backport-42718-branch/v16 branch June 11, 2024 17:00
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