Skip to content

[22.06 backport] don't use canceled context to send KILL signal to healthcheck process#43994

Merged
thaJeztah merged 1 commit into
moby:22.06from
corhere:backport-22.06/healthcheck_timeout
Aug 23, 2022
Merged

[22.06 backport] don't use canceled context to send KILL signal to healthcheck process#43994
thaJeztah merged 1 commit into
moby:22.06from
corhere:backport-22.06/healthcheck_timeout

Conversation

@corhere
Copy link
Copy Markdown
Contributor

@corhere corhere commented Aug 18, 2022

@corhere corhere requested a review from thaJeztah August 18, 2022 21:53
@thaJeztah thaJeztah added this to the 22.06.0 milestone Aug 19, 2022
@thaJeztah
Copy link
Copy Markdown
Member

temporarily moving to draft as #43739 was updated

@thaJeztah thaJeztah marked this pull request as draft August 19, 2022 13:23
@thaJeztah thaJeztah force-pushed the backport-22.06/healthcheck_timeout branch from e512033 to 42003e1 Compare August 19, 2022 16:01
Terminating the exec process when the context is canceled has been
broken since Docker v17.11 so nobody has been able to depend upon that
behaviour in five years of releases. We are thus free from backwards-
compatibility constraints.

Co-authored-by: Nicolas De Loof <[email protected]>
Co-authored-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Nicolas De Loof <[email protected]>
Signed-off-by: Cory Snider <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 4b84a33)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah force-pushed the backport-22.06/healthcheck_timeout branch from 42003e1 to e7f4963 Compare August 23, 2022 20:12
@thaJeztah thaJeztah marked this pull request as ready for review August 23, 2022 20:12
@thaJeztah
Copy link
Copy Markdown
Member

re-did the cherry-pick with the commit that was merged in #43739

Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah
Copy link
Copy Markdown
Member

This was a clean cherry-pick; bringing this one in

@thaJeztah thaJeztah merged commit 2dc3e51 into moby:22.06 Aug 23, 2022
@thaJeztah thaJeztah changed the title [v22.06 backport] don't use canceled context to send KILL signal to healthcheck process [22.06 backport] don't use canceled context to send KILL signal to healthcheck process Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants