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

[Bug Fix]: Resolve race condition => Base deployment issue #909

Merged
merged 6 commits into from
Nov 17, 2023

Conversation

aybruhm
Copy link
Member

@aybruhm aybruhm commented Nov 17, 2023

Description

This PR resolves the race condition bug.

Changes Made:

  • Removed await engine.save(app_variant_db) to prevent race conditions during deployment updates.
  • Set await to ensure validate_image in the deployment manager runs successfully.

Related Issue

Closes #904

@aybruhm aybruhm requested a review from mmabrouk November 17, 2023 17:36
Copy link
Member

@mmabrouk mmabrouk left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @aybruhm !

@mmabrouk mmabrouk merged commit b1c7629 into main Nov 17, 2023
6 checks passed
@mmabrouk mmabrouk deleted the 907/resolve-race-condition-dbmanager branch November 17, 2023 17:39
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.

[Bug] Base does not have a deployment (Race condition)
2 participants