mwylde commented on issue #6625:
URL: https://github.com/apache/arrow-rs/issues/6625#issuecomment-2436466823

   I might not have been clear. When you first request the token, it as a TTL 
of 1 hour. However, the token is cached locally by the metadata service until 
it has 5 minutes of time left at which point it will generate a new one:
   
   > Access tokens expire after a short period of time. The metadata server 
caches access tokens until they have 5 minutes of remaining time before they 
expire. If tokens are unable to be cached, requests that exceed 50 queries per 
second might be rate limited. Your applications must have a valid access token 
for their API calls to succeed.
   
   So if you just reduce the min_ttl to under five minutes, it will probably be 
ok. There doesn't seem to be a way to force the metadata service to give you a 
new token (although I'm far from a GCP expert so there might be something I've 
missed in the docs).
   
   I do think this is a bug, because currently on GCP you can end up in a 
situation where object_store is stuck on a lock and unable to make progress, 
apparently indefinitely. And because the min_ttl isn't configurable, there is 
no workaround except modifying the code.
   
   


-- 
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]

Reply via email to