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

Prevent cache evicts files during builds. #21

Open
konste opened this issue Sep 5, 2021 · 0 comments
Open

Prevent cache evicts files during builds. #21

konste opened this issue Sep 5, 2021 · 0 comments

Comments

@konste
Copy link

konste commented Sep 5, 2021

When I tried to use Build Without Bytes and specify Bazel build flag --remote_download_toplevel I got this error:

ERROR: C:/dev/near/workgroup/managementlibs/src/runjavaservice/BUILD.bazel:11:14: CppLink workgroup/managementlibs/src/runjavaservice/runjavaservice.exe failed: Exec failed due to IOException: Failed to fetch file with hash '17dcab1ff602adafe6c1f3e525f78d5c374f6c047454b22289b3ac0e99bb8d15' because it does not exist remotely. --remote_download_outputs=minimal does not work if your remote cache evicts files during builds.

I am not sure what is going on here, but this part of the error --remote_download_outputs=minimal does not work if your remote cache evicts files during builds. makes me think that we need a way to prevent file evictions during the build. I don't know how, because in my understanding the cache does not know when the builds begin and end.

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

No branches or pull requests

1 participant