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

Instamojo fix/envfiles deadlock #2580

Merged
merged 1 commit into from
Aug 19, 2020

Conversation

yhlee-aws
Copy link
Contributor

Summary

Fixes a deadlock scenario when the agent restores the state from its data file and the tasks are using environment files feature

Implementation details

The issue happens in some particular cases where the system waits indefinitely to lock a lock, which it itself has locked it, and hasn't unlocked yet, resulting in a deadlock.

Testing

New tests cover the changes: no

Description for the changelog

Bug - Fixed a bug that could cause a deadlock resulting in the agent not functioning as expected

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@yhlee-aws
Copy link
Contributor Author

copy of #2569

@yhlee-aws yhlee-aws force-pushed the Instamojo-fix/envfiles-deadlock branch from d5a486e to 3746fe7 Compare August 19, 2020 18:22
@yhlee-aws yhlee-aws merged commit d066526 into aws:dev Aug 19, 2020
@yhlee-aws yhlee-aws added this to the 1.45.0 milestone Aug 19, 2020
@yhlee-aws yhlee-aws deleted the Instamojo-fix/envfiles-deadlock branch August 19, 2020 20:28
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.

5 participants