Skip to content

Conversation

Dog-Du
Copy link

@Dog-Du Dog-Du commented Jul 26, 2025

close issue: #664
build benchmark fail.
we need to add derive feature when importing clap
benchmark test fail.
we need to add the argument --driver_port

Copy link

ti-chi-bot bot commented Jul 26, 2025

Welcome @Dog-Du! It looks like this is your first PR to tikv/grpc-rs 🎉

@Dog-Du Dog-Du changed the title fix benchmark build fail #664 fix benchmark build fail and test fail #664 Jul 27, 2025
Signed-off-by: DogDu <[email protected]>
Comment on lines +27 to +31
#[arg(id = "driver_port", long)]
driver_port0: Option<u16>,
/// The port the worker should listen on. For example, 8080
#[arg(id = "driver-port", long)]
driver_port1: Option<u16>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why add a new port? what's difference between driver_port and driver-port?

Copy link
Author

@Dog-Du Dog-Du Jul 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No difference, only one of them is not None, just to support both --driver-port and --driver_port.
we need --driver_port when running python3 tools/run_tests/run_performance_tests.py -l rust

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants