-
Notifications
You must be signed in to change notification settings - Fork 36
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
Healing after failed refresh #1457
Comments
Initial idea from what we can start is move |
Problem statementCurrent
sdk/pkg/networkservice/common/heal/client.go Lines 61 to 68 in 63043b2
Reasons why this works (except for failed refreshes):
Reasons heal must stop monitoring before request:
Heal client assumes that if request for already existing connection has failed, then healing is already running. Therefore, we need to add a proper check if we already have a healing loop, and start monitoring, if we don't. Solution 1 (Best solution)Changes:
Pros:
Cons:
Solution 2Changes:
Pros:
Cons:
|
Expected Behavior
Healing works as expected
Current Behavior
Healing doesn't work if refresh fails
Failure Information (for bugs)
This happens because we cancel the previous healing monitoring on refresh, but do nothing in case of error:
sdk/pkg/networkservice/common/heal/client.go
Lines 61 to 68 in 6fa2f68
Perhaps we need to consider re-refresh right after a failure, or try to restore the previous monitoring
Steps to Reproduce
Context
Failure Logs
The text was updated successfully, but these errors were encountered: