Skip to content

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Sep 19, 2025

Work towards #26450

@fmeum fmeum force-pushed the 26450-repo-contents-cache-file-type branch from 3f13026 to 17de10f Compare September 22, 2025 16:40
Use a UUID to name entries rather than a counter file. This has a number of advantages:

* It's simpler.
* Moving to the cache no longer requires exclusive locking on the predeclared inputs hash.
* Addresses potential repo staleness in case the counters file is lost or overflows an int.

# Conflicts:
#	src/main/java/com/google/devtools/build/lib/bazel/repository/cache/RepoContentsCache.java
@fmeum fmeum force-pushed the 26450-repo-contents-cache-file-type branch from 17de10f to 0f328e5 Compare September 23, 2025 12:25
@fmeum fmeum force-pushed the 26450-repo-contents-cache-file-type branch from e81a652 to 0abff2c Compare September 24, 2025 14:04
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

Successfully merging this pull request may close these issues.

1 participant