-
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
Simplify healing - determinate reselect state for whole chain #1454
Comments
This comment was marked as outdated.
This comment was marked as outdated.
Current behaviorIf Close reaches all apps in path, it clears all caches, and reselect works as expected. If Close doesn't reach some apps, those apps try to restore old connection to avoid resource leaks. Solution 1Changes:
When path is empty, Pros:
Cons:
Solution 2 (Best solution)Changes:
If Close from client has reached all apps in the connection path, everything will work as before. It is still possible to have resource leaks if we can't reach some apps in the path. Pros:
Cons:
|
Seems like done |
Steps to reproduce
Expected Behavior
All downstream components correctly handle reselect on next request from the nsc.
Current Behavior
All downstream components do something non-deterministic. (i.e. some component like forwarder may try to restore connection, some component may just refresh the connection)
Context
See at
sdk/pkg/networkservice/common/heal/eventloop.go
Line 131 in 6fa2f68
See at
sdk/pkg/networkservice/common/begin/event_factory.go
Line 102 in 6fa2f68
Initial ideas
sdk/pkg/networkservice/common/begin/event_factory.go
Line 107 in 6fa2f68
Defenition of done
The text was updated successfully, but these errors were encountered: