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 net_listening #841

Merged
merged 1 commit into from
Sep 27, 2023
Merged

add net_listening #841

merged 1 commit into from
Sep 27, 2023

Conversation

shunjizhan
Copy link
Collaborator

@shunjizhan shunjizhan commented Sep 27, 2023

Change

added net_listening RPC. It seems to be a dummy RPC for us, since I can't think of any senario that we don't want to accept connection.

Should we check RPC health first, and return false when unhealthy? But in many cases, most functionalities still work even for unhealthy RPC (such as subquery delayed), I am not sure if we want no connection at all in this case

fix #253

Test

added dummy test for it, just to make sure the RPC exist

@shunjizhan shunjizhan requested review from zjb0807 and xlc September 27, 2023 07:18
@shunjizhan shunjizhan marked this pull request as ready for review September 27, 2023 07:20
Copy link
Member

@zjb0807 zjb0807 left a comment

Choose a reason for hiding this comment

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

@shunjizhan shunjizhan merged commit 6caf38b into master Sep 27, 2023
11 checks passed
@shunjizhan shunjizhan deleted the add-net-listening branch September 27, 2023 10:38
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.

implement net_listening
2 participants