Repository navigation
chore(deps): bump iroh-blobs to 0.105 - #2946
Merged
Merged
Conversation
0.105 recovers the fs store after an OS crash in its default ProcessCrash mode: an entry re-checks its files and may report less data, never more. The client store moves onto iroh-blobs next (#2881), and its resume relies on that. 0.105 answers the empty hash in the client (#341), so `status` reports the empty blob complete. Size-proof tags hold the empty blob, and the cache's blob listings (`iter_hashes`, the size walk) now leave it out: it is never a cache entry. irpc moves to 1.0 with it. ADR 000 records the new baseline. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Step 2 of moving the client store onto iroh-blobs (#2881).
Why
0.105 adds OS-crash recovery to the fs store's default
CrashConsistency::ProcessCrashmode (#353 upstream). The store records a boot id; after an OS crash each entry re-checks its files when next loaded and may report less data, never more. The client store's resume will rely on the store alone, so it needs this.What changes
iroh-blobs0.104 → 0.105. The lock also movesirpc/irpc-derive0.17 → 1.0 andn0-error1.0.1 → 1.0.3. iroh stays at 1.3; bao-tree stays at 0.17.statusnow reports the empty blob asComplete { size: 0 }. Size-proof tags hold the empty blob, so it shows up inlist().iter_hashesand the size walk (snapshot_blob_sizes) now skip it: the empty blob is never a cache entry. Without this, fiveiter_hashestests fail, and eviction would see a zero-byte entry.Crash repros on 0.105.0
A standalone repro (raw iroh-blobs, one
import_bao_bytesper MiB) re-ran the 0.104.1 kill/exit matrix. Every recovered byte read back equal to the source.sync_db()after the first importsync_db/shutdownsync_dborshutdownPartial(0.104.1: lost)The 500 ms write-batch window is unchanged, so the client store will call
sync_db()after a blob's first import andshutdown()on exit.Tests
size_snapshot_leaves_out_the_empty_blob(fails without the fix).cargo nextest run -p decdn-cache -p decdn-node -p decdn-cli -p decdn-client: 4744 passed.--all-features), crate-edge check, andcargo denybans/licenses/sources clean.🤖 Generated with Claude Code