feat(p2p-05): add fetched cache backend (#671) - #13
Open
jlon wants to merge 1 commit into
Open
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
jlon
force-pushed
the
p2p-04-client-p2p-module-shell
branch
from
March 26, 2026 10:26
032f2e6 to
e389ef7
Compare
jlon
force-pushed
the
p2p-05-fetched-cache-backend
branch
from
March 26, 2026 10:26
48a468e to
92f1043
Compare
jlon
force-pushed
the
p2p-04-client-p2p-module-shell
branch
from
March 27, 2026 09:32
e389ef7 to
e8e08e2
Compare
jlon
force-pushed
the
p2p-05-fetched-cache-backend
branch
from
March 27, 2026 09:32
92f1043 to
5fbbdfc
Compare
jlon
force-pushed
the
p2p-04-client-p2p-module-shell
branch
from
March 30, 2026 00:54
e8e08e2 to
848bc0d
Compare
jlon
force-pushed
the
p2p-05-fetched-cache-backend
branch
from
March 30, 2026 00:55
5fbbdfc to
9a8bb64
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Design
Implementation
CacheManagerwith TTL, sharding, batch append, checksum validation, and snapshot accounting.p2pand add theringdependency for digest support.Verification
cargo test -p curvine-client duplicate_put_refreshes_without_rewritecargo test -p curvine-client fetched_batch_put_writes_and_reads_backcargo test -p curvine-client wrong_checksum_hint_is_detected_on_read