-
Notifications
You must be signed in to change notification settings - Fork 73
[HZ-5309] Improve Asyncio Client's Resiliency #766
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
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #766 +/- ##
==========================================
- Coverage 94.62% 94.58% -0.04%
==========================================
Files 393 393
Lines 25056 25077 +21
==========================================
+ Hits 23708 23720 +12
- Misses 1348 1357 +9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ihsandemir
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I understand from the changes you added a task for reconnect if it fails to connect. But where is the code that will route the invocations to random member connection available? I assumed this would be the fix for the PR. What will we do to test and verify the change?
|
@ihsandemir The invocation logic handles the routing.
I've manually tested that the scenario works as expected. |
…of the run, similar to the asyncore client
Asyncio client exited early during connection problems.
For example, in the following situation:
use_public_ip=True).In that case, the client must route all invocations to the member it could connect.
This PR fixes that for the asyncio client, by retrying to connect instead of giving up with
TargetDisconnectedError.