Add local CAS cleanup policy
This commit is contained in:
parent
00471bcec0
commit
21920b51b5
10 changed files with 184 additions and 8 deletions
|
|
@ -200,14 +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.
|
||||
- `[x]` CAS pin and cache policy.
|
||||
Acceptance criteria:
|
||||
- `[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.
|
||||
- `[x]` Pinned blobs are retained across cache cleanup.
|
||||
- `[x]` Unpinned cached blobs can be evicted by policy.
|
||||
- `[x]` Tests cover attempted eviction of pinned data.
|
||||
|
||||
- `[ ]` Encrypted private blobs.
|
||||
Acceptance criteria:
|
||||
|
|
|
|||
Loading…
Reference in a new issue