Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reconnect passive dlt-daemon when passive dlt-daemon becomes unrespon… #581

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jianjun-huang
Copy link

…sive

using DLT_SERVICE_ID_GET_DEFAULT_LOG_LEVEL message to detect whether dlt-daemon is active, then try to reconnect the passive dlt-daemon if the passive dlt-daemon is unresponsive

…sive

using DLT_SERVICE_ID_GET_DEFAULT_LOG_LEVEL message to detect whether dlt-daemon is active, then try to reconnect the passive dlt-daemon if the passive dlt-daemon is unresponsive
@minminlittleshrimp
Copy link
Collaborator

Look greate, on review.
Thank you!

@minminlittleshrimp
Copy link
Collaborator

Hello @Bichdao021195
Please kindly compare this solution with the one using setsockopt() with TCP keepalive.
I would prefer using the internal method/implementation rather than depending on tcp lib if it is possible.

@minminlittleshrimp
Copy link
Collaborator

Hello @michael-methner
Kindly review this patch.
Thank you

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DLT-Multinode: Gateway does not recognize reset of passive node
2 participants