-
Notifications
You must be signed in to change notification settings - Fork 876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevote connection timeout #234
Comments
The reason why the connect timeout is not set is that, we think the default value in brpc is fine. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While prevote RPC uses a timeout of
election_timeout_ms
here, the connection timeout of the channel itself is not set, so Channel is using the default of 200 ms.This leads to the following errors on a cross region set-up where latency between nodes can be high:
The same is an issue in other places where RPC is used as well, including in
replicator.cpp
where the channel connection timeout is commented out.Is there a rational for not setting the connection time out along with request timeout?
The text was updated successfully, but these errors were encountered: