-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
fix: rolling update and hanging fix #2869
Conversation
This PR closes: #2841 |
Codecov Report
@@ Coverage Diff @@
## master #2869 +/- ##
==========================================
+ Coverage 82.21% 88.02% +5.80%
==========================================
Files 106 138 +32
Lines 7064 9500 +2436
==========================================
+ Hits 5808 8362 +2554
+ Misses 1256 1138 -118
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
5e94078
to
6e19483
Compare
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.
LGTM. Anyhow, haven't gone into great detail understanding all consequences.
# if Address already in use `self.in_sock_type` is not set | ||
if ( | ||
not self.is_closed | ||
and hasattr(self, 'in_sock_type') |
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.
This can be removed again. I fixed the resulting error in #2853 via making sure, this is always set to None
in the first place.
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.
will remove in follow-up PR if that's okey
Changes introduced
Change the CompoundPod exit order to ExitStack to avoid sendind CANCEL to a closed HeadPea
Avoid sending
IDLE
while flushing in_socketRetry sending control signal from Pea to runtime
Avoid copying
Pea
to new process by passing neededarguments
. I think is dangerous to copy speciallyLogger
with all thehandles