completenesschecking

package
v0.0.0-...-a9d0937 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCompletenessCheckingBlobAccess

func NewCompletenessCheckingBlobAccess(actionCache, contentAddressableStorage blobstore.BlobAccess, batchSize, maximumMessageSizeBytes int, maximumTotalTreeSizeBytes int64) blobstore.BlobAccess

NewCompletenessCheckingBlobAccess creates a wrapper around an Action Cache (AC) that ensures that ActionResult entries are only returned in case all objects referenced by the ActionResult are present within the Content Addressable Storage (CAS). In case one of the referenced objects is absent, the ActionResult entry is treated as if non-existent.

The use of this type is required when the underlying Action Cache and Content Addressable Storage are two separate data stores that don't share a common garbage collection scheme. Tools such as Bazel rely on a single call to GetActionResult() to determine whether an action needs to be rebuilt. By calling it, Bazel indicates that all associated output files must remain present during the build for forward progress to be made.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL