Skip to content

Dir cache eviction policy - #3642

Merged
peterebden merged 2 commits into
masterfrom
dir-cache-eviction-policy
Oct 31, 2026
Merged

peterebden merged 2 commits into
masterfrom
dir-cache-eviction-policy

Conversation

@peterebden

Copy link
Copy Markdown
Collaborator

Second part of #3629 , stacked on #3641

Implements the size cap as a percentage of disk size, and a warning if we cannot free enough from the cache to save required space (because most entries are linked elsewhere)

@jwong-beep jwong-beep left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit. LGTM!

Comment thread src/cache/dir_cache.go Resolved
@peterebden
peterebden force-pushed the dir-cache-eviction-policy branch from 5cfe330 to 071f389 Compare October 27, 2026 17:07
Base automatically changed from dir-cache-link-aware-eviction to master October 31, 2026 10:21
@peterebden
peterebden force-pushed the dir-cache-eviction-policy branch from 071f389 to 4a2283a Compare October 31, 2026 10:23
@peterebden
peterebden force-pushed the dir-cache-eviction-policy branch from 4a2283a to 39365d9 Compare October 31, 2026 10:23
@peterebden
peterebden merged commit d7bea33 into master Oct 31, 2026
3 of 9 checks passed
@peterebden
peterebden deleted the dir-cache-eviction-policy branch October 31, 2026 10:24
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.

Improve performance with multiple plz-outs

2 participants