put mutex around installplan creation#2545
put mutex around installplan creation#2545openshift-merge-robot merged 1 commit intooperator-framework:masterfrom
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. DetailsInstructions 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. |
perdasilva
left a comment
There was a problem hiding this comment.
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 <akihikokuroda2020@gmail.com>
54a142d to
2c47408
Compare
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: akihikokuroda akihikokuroda2020@gmail.com
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