Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

monitoring and testing gateway grpc pid #1470

Merged
merged 2 commits into from
Mar 11, 2022
Merged

Conversation

jeffgrunewald
Copy link
Contributor

@jeffgrunewald jeffgrunewald commented Mar 4, 2022

The http_connection pid started by the grpc_client library is currently not monitored in any way by the gateway ecc worker process beyond including it in the connection record returned when establishing the connection. In the event the process exits, the ecc worker has no indication that its connection is gone and all subsequent attempts to establish a connection stream will fail.

This change monitors the connection process and attempts to clean up the remainder of the old connection before reconnecting as soon as the old pid is lost.

This change also adds the new --stdin flag expected by the latest release of the embedded gateway-rs.

@Vagabond Vagabond merged commit 57f1106 into master Mar 11, 2022
@Vagabond Vagabond deleted the jg/monitor_gateway_grpc_conn branch March 11, 2022 16:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants