Skip to content
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

Add gRPC connection monitor and fix related bug #665

Merged
merged 5 commits into from
Jan 31, 2023

Conversation

Smityz
Copy link
Contributor

@Smityz Smityz commented Jan 11, 2023

Signed-off-by: Smityz smityz@qq.com

fix: #522 #653

After a tikv server restart, the grpc connection state on the client becomes IDLE and needs a request to be sent through this connection or a manual connect to change it to the READY state. In the current implementation, I believe trying toConnect() when the state is IDLE is a relatively small modification.

And add a monitor of grpc connection state can help us to find related bugs

Screenshot 2023-01-11 at 18 11 38

@disksing
Copy link
Collaborator

@hicqu @MyonKeminta Please take a look.

@disksing
Copy link
Collaborator

@hicqu any more comments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rawkv can not recovery after one of the tikv-servers restart
3 participants