mwylde opened a new pull request, #6638: URL: https://github.com/apache/arrow-rs/pull/6638
# Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> Closes #6625. # Rationale for this change See #6625 # What changes are included in this PR? This PR makes two changes to the token refresh system: * For GCP, the min_ttl is reduced to 4 minutes to avoid the race condition with the metadata server caching as described in the issue * A backoff has been added to the token refresh logic, such that if the current token isn't yet expired, but we've recently attempted to refresh it (currently hard-coded to within the past 100ms) we won't attempt to refresh and will just return the cached one. This should help avoid the TokenCache from hammering the underlying token issuing system in the case that it's serving a cached token that's within the min_ttl # Are there any user-facing changes? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
