diff options
author | Connor Brewster <cbrewster@hey.com> | 2023-10-17T02·33-0500 |
---|---|---|
committer | Connor Brewster <cbrewster@hey.com> | 2023-10-17T13·01+0000 |
commit | 0325ae3ba328ac7b4215057d2c00ac467dd9d820 (patch) | |
tree | 182f31441c5e8a864c1804039295d7d4215da218 /nix/bufCheck/default.nix | |
parent | 73a19c249ef47cfdd55ebd8230cb9c0439beb749 (diff) |
fix(tvix/castore): Fix race when ingesting into castore r/6842
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>
Diffstat (limited to 'nix/bufCheck/default.nix')
0 files changed, 0 insertions, 0 deletions