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

Fixes to puma service-script upgrade action #25189

Merged
merged 1 commit into from Oct 2, 2018

Conversation

wjordan
Copy link
Contributor

@wjordan wjordan commented Oct 2, 2018

This PR fixes an edge-case where some (but not all) of the old workers exit during an upgrade service-script action, causing the service-script upgrade action to complete before the upgrade finished.

The updated script now waits for all of the old workers to exit and/or the PID to change before advancing to the next section (which waits for workers to exist before exiting).

Wait for all of the old workers to exit and/or the PID to change.
Fixes the edge-case where some (but not all) of the old workers have exited.
[ci skip]
@wjordan wjordan requested a review from sureshc October 2, 2018 21:43
@wjordan
Copy link
Contributor Author

wjordan commented Oct 2, 2018

tested/verified on an adhoc instance

@wjordan wjordan merged commit 042ebf9 into staging Oct 2, 2018
@wjordan wjordan deleted the puma_service_script_fix_2 branch October 2, 2018 22:42
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.

None yet

1 participant