about summary refs log tree commit diff
path: root/tvix/castore/src/fs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-04-16T13·30+0300
committerflokli <flokli@flokli.de>2024-04-16T18·45+0000
commit28e98af9bc4c4a29676dbe5e7d0c7614fba410a6 (patch)
tree8d7bdd22f323229926614a5e1da7d7b6af077c47 /tvix/castore/src/fs
parent9398bc46b60d809aac679157fe4c491586e649ff (diff)
fix(tvix/castore/blobservice/chunk_rd): only skip *first* chunk bytes r/7945
When (re)initializing a chunked reader, we were erroneously skipping the
first n bytes from all chunks, not just the first one.

Fix this, by passing in an enumerated list of chunks, and only calling
SeekFrom::Start() on the first chunk in the stream.

With this, I'm able to invoke b3sum on bin/bash successfully.

Change-Id: I52ea480569267e093b0ac9d6bcd5c2d1b4db25f7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11443
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/castore/src/fs')
0 files changed, 0 insertions, 0 deletions