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

[RPC] Raise error if server process terminated #17101

Merged

Conversation

Lunderberg
Copy link
Contributor

Prior to this PR, a local RPC server could crash without any indication in the main process. While typically this crash would cause an error in the main process due to the lack of a RPCCode::kReturn from the server, the delayed error can complicate debugging.

This PR updates the local RPC server to raise an exception if the server process returns with a non-zero exit code.

Prior to this PR, a local RPC server could crash without any
indication in the main process.  While typically this crash would
cause an error in the main process due to the lack of a
`RPCCode::kReturn` from the server, the delayed error can complicate
debugging.

This PR updates the local RPC server to raise an exception if the
server process returns with a non-zero exit code.
@Lunderberg Lunderberg merged commit a4f20f0 into apache:main Jun 18, 2024
19 checks passed
@Lunderberg Lunderberg deleted the rpc_raise_error_from_local_server branch June 18, 2024 18:28
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.

2 participants