Add local CAS pin metadata
This commit is contained in:
parent
99f6dee26f
commit
00471bcec0
9 changed files with 169 additions and 16 deletions
|
|
@ -200,11 +200,14 @@ authorization and durable-state boundaries clear.
|
|||
- Provider tracking is recorded locally.
|
||||
- Local add/get/hash/has/list behavior remains backward compatible.
|
||||
|
||||
- `[ ]` CAS pin and cache policy.
|
||||
- `[~]` CAS pin and cache policy.
|
||||
Acceptance criteria:
|
||||
- Pinned blobs are retained across cache cleanup.
|
||||
- Unpinned cached blobs can be evicted by policy.
|
||||
- Tests cover pin, unpin, list, and attempted eviction of pinned data.
|
||||
- `[x]` `geth cas pin <hash>` persists local pin metadata.
|
||||
- `[x]` `geth cas unpin <hash>` removes local pin metadata.
|
||||
- `[x]` `geth cas list` reports pinned versus unpinned blobs.
|
||||
- `[ ]` Pinned blobs are retained across cache cleanup.
|
||||
- `[ ]` Unpinned cached blobs can be evicted by policy.
|
||||
- `[ ]` Tests cover attempted eviction of pinned data.
|
||||
|
||||
- `[ ]` Encrypted private blobs.
|
||||
Acceptance criteria:
|
||||
|
|
|
|||
Loading…
Reference in a new issue