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

Add new setUpstreamsLocked function to avoid blocking on Update #7542

Merged
merged 1 commit into from
Mar 30, 2020

Conversation

jorgemarey
Copy link
Contributor

This adds a new function setUpstreamsLocked to avoid the lock when setting upstreams.

The SetUpstreams function isn't called anywhere else on the code so maybe we could simple remove the lock from there, but I thought that maybe in a future is needed.

Fixes #7540

@shoenig shoenig self-requested a review March 30, 2020 17:23
@shoenig
Copy link
Member

shoenig commented Mar 30, 2020

LGTM

@shoenig shoenig merged commit dfb5513 into hashicorp:master Mar 30, 2020
notnoop pushed a commit that referenced this pull request Apr 9, 2020
Add new setUpstreamsLocked function to avoid blocking on Update
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allocation not being stopped after promotion (using connect)
2 participants