Using --experimental_remote_cache_lease_extension
causes fast builds to wait for lease extensions to complete
#22632
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Remote-Exec
Issues and PRs for the Execution (Remote) team
type: bug
Description of the bug:
When using
--experimental_remote_cache_lease_extension
a fast build that would normally take 1-2 seconds can take much longer waiting for the serial background lease extensions to finishhttps://cs.opensource.google/bazel/bazel/+/master:src/main/java/com/google/devtools/build/lib/remote/RemoteLeaseExtension.java;l=127-132;drc=3beaaaf23e4f6e9071ef7eabced7d64513573e80
One or both of two things should be different:
Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Run a
bazel build //... --experimental_remote_cache_lease_extension --experimental_remote_cache_ttl=5m
. Wait for blobs to expire (5 minutes). Run it again. See that the build waits for the lease extensions to finish before completing the build.Which operating system are you running Bazel on?
No response
What is the output of
bazel info release
?release 7.2.0rc1
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?No response
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: