chore(deps): update tokio from 1.51 to 1.52#21670
Conversation
| tempfile = "3" | ||
| testcontainers-modules = { version = "0.15" } | ||
| tokio = { version = "1.51", features = ["macros", "rt", "sync"] } | ||
| tokio = { version = "1.52", features = ["macros", "rt", "sync"] } |
There was a problem hiding this comment.
This should be fine 👍, but just want to double check something first:
The tokio = "1.51" version declaration in DataFusion is already compatible with consumers having tokio = "1.52" on their project, meaning that you should be already able use tokio = "1.52" in your codebase depending on DataFusion without this PR. In other words, having tokio = "1.51" here is like DataFusion saying to the outside world "I support tokio 1.X as long as X >= 51"
Did you find any issues with that that require bumping the minimum supported version here?
There was a problem hiding this comment.
Agreed, no issues at all. This is just an anticipation to keep the fork aligned with upstream.
There was a problem hiding this comment.
I did some digging, and it seems that Dependabot is configured in this project with a very aggressive minimum minor supported version for dependencies.
Actually, tokio itself was just bumped last week in https://github.com/apache/datafusion/pull/21435/changes#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542L195-R195.
While this is not the configuration I'd recommend for a project, it's what we have today in DataFusion, so this PR should be good to go 👍
gabotechs
left a comment
There was a problem hiding this comment.
As discussed in https://github.com/apache/datafusion/pull/21670/changes#r3092179794, this is good to go. Thanks @ahmed-mez!
|
run benchmarks |
|
Also tokio-rs/tokio#7757 seems it might be significant for us |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing ahmed/bump-tokio (c41fd81) to a0dbbab (merge-base) diff using: tpch File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing ahmed/bump-tokio (c41fd81) to a0dbbab (merge-base) diff using: tpcds File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing ahmed/bump-tokio (c41fd81) to a0dbbab (merge-base) diff using: clickbench_partitioned File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: CPU Details (lscpu)Details
Resource Usagetpcds — base (merge-base)
tpcds — branch
File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: CPU Details (lscpu)Details
Resource Usageclickbench_partitioned — base (merge-base)
clickbench_partitioned — branch
File an issue against this benchmark runner |
Which issue does this PR close?
Update tokio from 1.51 to 1.52
Rationale for this change
Allow experimenting with a new setting
Builder::enable_eager_driver_handoffin tokio, among other improvements in the latest tokio version.What changes are included in this PR?
Tokio version update in Cargo.toml
Are these changes tested?
All existing tests pass
Are there any user-facing changes?
No