From ddac88a4c5f9893f5c8174a4af6a32d7edf3a184 Mon Sep 17 00:00:00 2001 From: Erwan Date: Mon, 14 Aug 2023 13:20:48 -0400 Subject: [PATCH] pd: log poll-level timeouts (cherry picked from commit 3623bda7c80cba7c0c328924a79ec805a361c824) --- crates/bin/pd/src/info/oblivious.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/bin/pd/src/info/oblivious.rs b/crates/bin/pd/src/info/oblivious.rs index 8de4dbb463..84a5f7bac2 100644 --- a/crates/bin/pd/src/info/oblivious.rs +++ b/crates/bin/pd/src/info/oblivious.rs @@ -279,6 +279,9 @@ impl ObliviousQueryService for Info { return Err(tonic::Status::internal("error while sending block")); } Err(_) => { + tracing::debug!( + "client did not poll compact block stream for 1s, timing out" + ); return Err(tonic::Status::deadline_exceeded( "timeout while sending block", ));