-
Notifications
You must be signed in to change notification settings - Fork 551
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
put mutex around installplan creation #2545
put mutex around installplan creation #2545
Conversation
Hi @akihikokuroda. Thanks for your PR. I'm waiting for a operator-framework member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm - it could be worth while to add some comments to explain why the lock is needed, maybe even reference the issue. Might help other people keep an eye on these types of race conditions, etc.
/lgtm |
The e2e test failure is addressed in #2542. |
@akihikokuroda could you please rebase |
65a4293
to
a9daa11
Compare
/lgtm |
/ok-to-test |
a9daa11
to
f29ae6d
Compare
/lgtm |
f29ae6d
to
c788e84
Compare
c788e84
to
13930a2
Compare
/approve |
257930c
to
8b85bd1
Compare
/retest |
8b85bd1
to
7b0a05b
Compare
7b0a05b
to
54a142d
Compare
@akihikokuroda Can you rebase this when you get a chance? I think this is ready to go. |
Signed-off-by: akihikokuroda <[email protected]>
54a142d
to
2c47408
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akihikokuroda, awgreene, timflannagan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: akihikokuroda [email protected]
Description of the change:
This PR makes the check if the InstallPlan has to be created and the creation of the installplan in a locked block so that 2 namespace queue workers don't create the Installplan for the subscription.
Motivation for the change:
Closes #2544
Reviewer Checklist
/doc