-
Notifications
You must be signed in to change notification settings - Fork 9
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
Move Plugin level lock to Account level #260
Conversation
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" | ||
"github.com/Azure/go-autorest/autorest/to" | ||
"k8s.io/apimachinery/pkg/types" | ||
"strings" |
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.
could you sort imports here?
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.
Done
Signed-off-by: Rahul Jain <rahulj@vmware.com>
/nephe-test-e2e-agentless |
1 similar comment
/nephe-test-e2e-agentless |
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
/nephe-test-e2e-azure |
3 similar comments
/nephe-test-e2e-azure |
/nephe-test-e2e-azure |
/nephe-test-e2e-azure |
Description
We had mutex lock at the plugin level, due to which any cloud operation for account1 was impacting account2.
Changes
Move plugin level lock to account level so that multiple cloud operation can happen in parallel. There is further room for optimization to identify what cloud calls can happen in parallel within an account rather than locking at account level.