completenesschecking

package
v0.0.0-...-932836e Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCompletenessCheckingBlobAccess

func NewCompletenessCheckingBlobAccess(actionCache blobstore.BlobAccess, contentAddressableStorage blobstore.BlobAccess, batchSize int, maximumMessageSizeBytes int) 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