From e0e04df9480d974e793447ccc8c3335e5e1da813 Mon Sep 17 00:00:00 2001 From: William Wen <44139337+wenym1@users.noreply.github.com> Date: Wed, 14 Aug 2024 01:25:47 +0800 Subject: [PATCH] feat: upgrade tokio version to 1.38.0 (#17536) --- Cargo.lock | 9 +++++---- src/utils/runtime/Cargo.toml | 2 ++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e80d207f6a955..f1a6e60f2880d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11267,6 +11267,7 @@ dependencies = [ "rlimit", "thiserror-ext", "time", + "tokio", "tracing", "tracing-opentelemetry", "tracing-subscriber", @@ -13827,9 +13828,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.37.0" +version = "1.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" dependencies = [ "backtrace", "bytes", @@ -13857,9 +13858,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" dependencies = [ "proc-macro2", "quote", diff --git a/src/utils/runtime/Cargo.toml b/src/utils/runtime/Cargo.toml index 0559caee265d9..0815a005df5b5 100644 --- a/src/utils/runtime/Cargo.toml +++ b/src/utils/runtime/Cargo.toml @@ -26,6 +26,8 @@ pprof = { version = "0.13", features = ["flamegraph"] } risingwave_common = { workspace = true } risingwave_variables = { workspace = true } rlimit = "0.10" +# Explicitly specify the tokio version used in RisingWave runtime +rw-tokio = { version = "=1.38.0", package = "tokio" } thiserror-ext = { workspace = true } time = { version = "0.3", features = ["formatting", "local-offset"] } tokio = { version = "0.2", package = "madsim-tokio", features = [