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

satellite: remove useless readiness probe #274

Merged

Conversation

WanzenBug
Copy link
Member

@WanzenBug WanzenBug commented Feb 15, 2022

The readiness probe was implemented as a connection check on the satellites's
comm-port. This turned out to cause issues, as the satellite only expects a
single connection (from the controller). The most visible issues occured
when using SSL, as the readiness probe would not complete the TLS handshake,
generating repeated error reports.

Since the open comm-port doesn't actually tell us all that much about
the satellites readiness, other than that it completed start-up, we don't
lose very much by just removing it.

Note that a solution querying the Controller API was considered, but discarded,
as it would almost certainly propagate any Controller errors to the
readiness state, causing satellites to be recreated when they actually work
fine.

Closes #181

@WanzenBug WanzenBug force-pushed the remove-satellite-readiness-probe branch from f2ea2e5 to 9265e10 Compare February 15, 2022 14:41
The readiness probe was implemented as a connection check on the satellites's
comm-port. This turned out to cause issues, as the satellite only expects a
single connection (from the controller). The most visible issues occured
when using SSL, as the readiness probe would not complete the TLS handshake,
generating repeated error reports.

Since the open comm-port doesn't actually tell us all that much about
the satellites readiness, other than that it completed start-up, we don't
lose very much by just removing it.

Note that a solution querying the Controller API was considered, but discarded,
as it would almost certainly propagate any Controller errors to the
readiness state, causing satellites to be recreated when they actually work
fine.

Signed-off-by: Moritz "WanzenBug" Wanzenböck <[email protected]>
@WanzenBug WanzenBug merged commit 1eecfcf into piraeusdatastore:master Feb 15, 2022
@WanzenBug WanzenBug deleted the remove-satellite-readiness-probe branch February 15, 2022 15:17
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.

SSLException: closing inbound before receiving peer's close_notify
2 participants