-
Notifications
You must be signed in to change notification settings - Fork 159
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
[Azure Blob Storage] Not picking up blobs after restart #627
Comments
The intended behaviour is that when bazel-remote has a cache miss in its filesystem cache, then it checks if the proxy backend has that blob. The reported statistics from the /status http endpoint refer only to the filesystem cache, not the proxy backend. So if you restart bazel-remote, it should start with whatever blobs are stored in its cache dir. Are you cleaning this filesystem cache between builds? (Or running bazel-remote in builds inside containers that start with an empty cache dir?) |
Thank you for clarifying that 😄 it makes sense now.
Bazel itself also runs on a separate fresh container so its cache dir is empty. |
Note that the So in your case I suspect that you probably have a |
We use bazel-remote with Azure Blob Storage as a backend and currently have some cache stored in a Storage Container use by bazel-remote.
After restarting bazel-remote service it seems not to be picking up already stored cache files.
This results in cache miss and unnecessary growth of size of used storage account.
The text was updated successfully, but these errors were encountered: