Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix getRemoteClusterInfo race condition #2971

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

yux0
Copy link
Contributor

@yux0 yux0 commented Jun 8, 2022

What changed?
Fix getRemoteClusterInfo race condition

Why?
The getRemoteClusterInfo update the map if the item does not exist. We should acquire a writeLock.

How did you test it?
Existing integration test

Potential risks

Is hotfix candidate?

@yux0 yux0 requested a review from a team as a code owner June 8, 2022 16:07
@yux0 yux0 enabled auto-merge (squash) June 8, 2022 16:11
@yux0 yux0 merged commit 9de6b45 into temporalio:master Jun 8, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants