Skip to content
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

add --init to docker run #2571

Merged
merged 1 commit into from
Mar 23, 2021
Merged

add --init to docker run #2571

merged 1 commit into from
Mar 23, 2021

Conversation

jrhizor
Copy link
Contributor

@jrhizor jrhizor commented Mar 23, 2021

While doing the final round of manual testing on the cancellation API on real sources (not just loops I was setting up), I noticed that while the docker run process that was running on airbyte-scheduler would always get killed, in some cases for sources the underlying container would not get killed.

Here's discussion on this:
moby/moby#2838 (comment)

This change fixes the behavior and means that process.destroy() will actually destroy the underlying container. (Btw, this also means timeouts weren't actually working properly before.)

I'm putting this in a separate PR since it seems like a pretty wide-reaching but low-impact change.

@jrhizor jrhizor requested a review from cgardens March 23, 2021 00:59
@auto-assign auto-assign bot requested review from davinchia and sherifnada March 23, 2021 00:59
@jrhizor jrhizor merged commit f85f2e5 into master Mar 23, 2021
@jrhizor jrhizor deleted the jrhizor/add-init-to-docker-run branch March 23, 2021 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants