snix/tvix/castore/src
Connor Brewster 0325ae3ba3 fix(tvix/castore): Fix race when ingesting into castore
After finishing the ingestion, the directory putter was not being
closed. This caused a race where the root directory node was accessed
before the directory node had been flushed to the server.

This patch makes it so we close the putter before returning the root
node which should ensure that the root node exists on the directory
service server before the `ingest_path` function returns.

Fixes b/326

Change-Id: Id16cf46bc48962121dde76d3c9c23a845d87d0f1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9761
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
2023-10-17 13:01:29 +00:00
..
blobservice refactor(tvix/*store): helper for channel creation from url 2023-10-14 12:26:40 +00:00
directoryservice refactor(tvix/*store): helper for channel creation from url 2023-10-14 12:26:40 +00:00
proto refactor(tvix/castore): clippy 2023-10-16 11:13:33 +00:00
tests refactor(tvix): move castore into tvix-castore crate 2023-09-22 12:51:21 +00:00
channel.rs refactor(tvix/*store): helper for channel creation from url 2023-10-14 12:26:40 +00:00
digests.rs refactor(tvix/castore): move magic number to B3_LEN const 2023-10-05 09:50:31 +00:00
errors.rs refactor(tvix/*store): helper for channel creation from url 2023-10-14 12:26:40 +00:00
fixtures.rs refactor(tvix): move castore into tvix-castore crate 2023-09-22 12:51:21 +00:00
import.rs fix(tvix/castore): Fix race when ingesting into castore 2023-10-17 13:01:29 +00:00
lib.rs refactor(tvix/*store): helper for channel creation from url 2023-10-14 12:26:40 +00:00
utils.rs refactor(tvix/castore/utils): clippy 2023-10-12 20:46:24 +00:00