bazel-buildfarm
bazel-buildfarm copied to clipboard
allow CASFileCache delegate to be read/write restricted
The CASFileCache can be constructed with a delegate CAS that acts as a fallback.
Per the configuration:
# another cas entry specification here will provide a fallback
# for the filesystem cas. Any number of consecutive filesystem
# fallbacks may be used, terminated with zero or one of grpc or
# memory types.
We are looking to make a readonly grpc fallback CAS. To accomplish this, we will likely need to add some configuration to CASFileCache to avoid using the fallback during writes.
related issue: https://github.com/bazelbuild/bazel-buildfarm/issues/493