From 9dc621cd95d0263f66f32005501a83e0d6bf7c03 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 14 Apr 2024 16:58:41 +0300 Subject: fix(tix/castore/blobservice): don't warn if chunk list is empty It's perfectly normal if we ask for more granular chunking info and the backend responds it does not have it. Change-Id: I593ab3e53b4f4e70c99f39b266546d2ac8eb10c1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11437 Reviewed-by: Connor Brewster Tested-by: BuildkiteCI Autosubmit: flokli --- tvix/castore/src/blobservice/grpc.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tvix/castore/src/blobservice/grpc.rs b/tvix/castore/src/blobservice/grpc.rs index 9230abaf34..632acef158 100644 --- a/tvix/castore/src/blobservice/grpc.rs +++ b/tvix/castore/src/blobservice/grpc.rs @@ -13,7 +13,7 @@ use tokio_util::{ sync::PollSender, }; use tonic::{async_trait, transport::Channel, Code, Status}; -use tracing::{instrument, warn}; +use tracing::instrument; /// Connects to a (remote) tvix-store BlobService over gRPC. #[derive(Clone)] @@ -161,9 +161,6 @@ impl BlobService for GRPCBlobService { resp.validate() .map_err(|e| std::io::Error::new(io::ErrorKind::InvalidData, e))?; - if resp.chunks.is_empty() { - warn!("chunk list is empty"); - } Ok(Some(resp.chunks)) } } -- cgit 1.4.1