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

[v15] Improve recording upload backoff #42776

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

rosstimothy
Copy link
Contributor

Backport #42718 to branch/v15

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
@github-actions github-actions bot requested review from AntonAM, espadolini and zmb3 June 11, 2024 16:30
@rosstimothy rosstimothy enabled auto-merge June 11, 2024 16:42
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from zmb3 June 11, 2024 17:28
@rosstimothy rosstimothy added this pull request to the merge queue Jun 11, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 11, 2024
@rosstimothy rosstimothy added this pull request to the merge queue Jun 11, 2024
Merged via the queue into branch/v15 with commit a553fa4 Jun 11, 2024
35 checks passed
@rosstimothy rosstimothy deleted the tross/backport-42718/v15 branch June 11, 2024 18:11
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