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

Improvements for credentials refresh under high load #658

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kujenga
Copy link
Contributor

@kujenga kujenga commented Jan 23, 2025

This PR contains some improvements aimed at avoiding errors when gcsfs is under heavy load and performing credential refreshes.

These changes were made in response to observing errors of the following form in our logs from a long-running process with many GCS file system operations happening:

gcsfs.retry.HttpError: Invalid Credentials, 401

This is intended to alleviate issues around when the token does expire,
where for a period of time many 401s can occur under heavy load.
This is intended to cover the possibility that a refresh might fail,
or some other issue related to authentication that might be resolved
on retry.
@kujenga
Copy link
Contributor Author

kujenga commented Jan 23, 2025

I will take a look at the failing tests!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant