Skip to content

fix(fuse): persist object GC claims in publish journal#404

Closed
wchwawa wants to merge 1 commit into
feat/workbench-restore-to-forkfrom
fix/fuse-object-gc-journal
Closed

fix(fuse): persist object GC claims in publish journal#404
wchwawa wants to merge 1 commit into
feat/workbench-restore-to-forkfrom
fix/fuse-object-gc-journal

Conversation

@wchwawa

@wchwawa wchwawa commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • persist the exact object-GC claim version in each asynchronous FUSE publish journal record
  • reject zero claim versions when appending or replaying records
  • fail closed for legacy journal records that cannot prove their object-reference claim
  • reconstruct recovery state with the persisted claim instead of inventing a current token

Stack and scope

Depends on #403 and is intentionally separate from the Workbench restore delivery.

This is a narrow publish-journal correctness PR. It changes five nokv-fuse files only.

It does not add operator rollback, mutation fencing, SubtreeReplaced invalidation, remote watch support, or a general automatic object-GC refresh and re-upload loop. Broader restage policy remains deferred.

Validation

  • cargo test -p nokv-fuse: 73 passed
  • cargo clippy -p nokv-fuse --all-targets -- -D warnings
  • cargo test --workspace --all-targets --no-run
  • cargo fmt --all -- --check
  • git diff --check

The added deterministic tests cover zero-token rejection, legacy-record fail-closed behavior, and exact claim reconstruction during recovery.

@feichai0017 feichai0017 moved this to In Progress in NoKV Delivery Jul 11, 2026
Signed-off-by: wchwawa <wch19961116@gmail.com>
@wchwawa
wchwawa force-pushed the fix/fuse-object-gc-journal branch from 61da06a to 6aa2042 Compare July 11, 2026 04:55
@wchwawa
wchwawa force-pushed the feat/workbench-restore-to-fork branch from 2ed2106 to 8d0a6ec Compare July 11, 2026 04:55
@wchwawa wchwawa closed this Jul 13, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to Done in NoKV Delivery Jul 13, 2026
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.

2 participants