Skip to content

add generation garbage collection - #27

Merged
SSmallMonster merged 1 commit into
mainfrom
codex/generation-gc-main
Sep 2, 2026
Merged

SSmallMonster merged 1 commit into
mainfrom
codex/generation-gc-main

Conversation

@SSmallMonster

@SSmallMonster SSmallMonster commented Sep 2, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • add a Redis-backed durable retirement queue with leased GC work items
  • retire metadata before delayed physical reclamation for overwrite, delete, and access-triggered TTL expiry
  • keep generation identity checks before deleting retired layouts and retry transient cleanup failures
  • cover queue behavior, local reclamation, and two-node distributed reclamation

Validation

  • cargo test --features metrics --lib: 69 passed
  • cargo test --test local_cluster_e2e --no-run: passed
  • make e2e could not run locally because redis-server is not installed; GitHub Actions installs it for the existing E2E job

@SSmallMonster
SSmallMonster merged commit d29903d into main Sep 2, 2026
5 checks passed
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