about summary refs log tree commit diff
path: root/tvix/castore/src/import.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-04-14T12·55+0300
committerclbot <clbot@tvl.fyi>2024-04-15T14·04+0000
commitc19bc95b8a0797c58da9ff42a3cfbae3f0f4d413 (patch)
treea0d834bd017b0112167a8b9d079ad16921506960 /tvix/castore/src/import.rs
parentbccb4c92c357202e8be0f37345c0a933bd9c2cc0 (diff)
fix(tvix/castore/blobservice): update bytes_read only on successful read r/7922
We previously updated this.pos also in case the underlying read returned
an error.

Also, use the ready! macro to remove the match block, and instrument
errors returned during start_seek.

Change-Id: Ic32e26579d964a76b45687134acc48d72d67c36f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11421
Reviewed-by: Brian Olsen <me@griff.name>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions