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] auth: require a semaphore in order to complete uploads #41103

Merged
merged 1 commit into from
May 3, 2024

Conversation

zmb3
Copy link
Collaborator

@zmb3 zmb3 commented May 1, 2024

Backport #40926 to branch/v15

changelog: Improve the reliability of the upload completer.

Having multiple auth servers attempt to complete uploads against the
same shared backend results in racy behavior. This code is focused
on cleanup and is not performance sensitive, so we leverage a
semaphore to make sure only one auth server is attempting to complete
uploads at any point in time.

This new behavior can be disabled with an environment variable,
which will provide an escape hatch in case we we encounter
problems with it.
@github-actions github-actions bot added audit-log Issues related to Teleports Audit Log backport size/md labels May 1, 2024
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from fspmarshall May 3, 2024 09:09
@zmb3 zmb3 added this pull request to the merge queue May 3, 2024
Merged via the queue into branch/v15 with commit 356633f May 3, 2024
35 checks passed
@zmb3 zmb3 deleted the bot/backport-40926-branch/v15 branch May 3, 2024 15:12
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/md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants