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

Move Plugin level lock to Account level #260

Merged
merged 1 commit into from
Jun 22, 2023
Merged

Move Plugin level lock to Account level #260

merged 1 commit into from
Jun 22, 2023

Conversation

reachjainrahul
Copy link
Contributor

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.

"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
"github.com/Azure/go-autorest/autorest/to"
"k8s.io/apimachinery/pkg/types"
"strings"
Copy link
Contributor

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?

Copy link
Contributor Author

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>
@reachjainrahul
Copy link
Contributor Author

/nephe-test-e2e-agentless

1 similar comment
@reachjainrahul
Copy link
Contributor Author

/nephe-test-e2e-agentless

Copy link
Contributor

@archanapholla archanapholla left a comment

Choose a reason for hiding this comment

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

/LGTM

@reachjainrahul
Copy link
Contributor Author

/nephe-test-e2e-azure

3 similar comments
@reachjainrahul
Copy link
Contributor Author

/nephe-test-e2e-azure

@reachjainrahul
Copy link
Contributor Author

/nephe-test-e2e-azure

@reachjainrahul
Copy link
Contributor Author

/nephe-test-e2e-azure

@reachjainrahul reachjainrahul merged commit 856eec6 into main Jun 22, 2023
@reachjainrahul reachjainrahul deleted the lock branch June 23, 2023 00:37
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.

2 participants