From 770dca45a4f2d80e2f0187c24b440d9130848471 Mon Sep 17 00:00:00 2001 From: Yingwen Date: Fri, 12 Jun 2026 13:46:55 +0800 Subject: [PATCH] fix: pin tonic below 0.14.5 to avoid max connection age panic (#8265) (#8287) Signed-off-by: evenyag --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f0c8280dda..e45f1da081 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -250,7 +250,9 @@ tokio-rustls = { version = "0.26.2", default-features = false } tokio-stream = "0.1" tokio-util = { version = "0.7", features = ["io-util", "compat"] } toml = "0.8.8" -tonic = { version = "0.14", features = ["tls-aws-lc", "gzip", "zstd"] } +# Pin below 0.14.5 to avoid the `connection_timeout_future` "async fn resumed after +# completion" panic (greptimedb#8265 / grpc-rust#2522). Remove once tonic ships a fix. +tonic = { version = "0.14, <0.14.5", features = ["tls-aws-lc", "gzip", "zstd"] } tower = "0.5" tower-http = "0.6" tracing = "0.1"