Skip to content

Commit

Permalink
pd: log poll-level timeouts
Browse files Browse the repository at this point in the history
(cherry picked from commit 3623bda)
  • Loading branch information
erwanor authored and conorsch committed Aug 14, 2023
1 parent 8c6d101 commit ddac88a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/bin/pd/src/info/oblivious.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
));
Expand Down

0 comments on commit ddac88a

Please sign in to comment.